Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008698/0.008704, allocations: 102.6 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001839, allocations: 190.6 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 66.73 kB / 0.9504 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2673, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001929/0.2692, allocations: 0.6553 MB / 1.088 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009016/0.2702, allocations: 0.8082 MB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.2702, allocations: 0 / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.2703, allocations: 3.938 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.2703, allocations: 7.938 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.2705, allocations: 11.98 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.343e-05/0.2706, allocations: 27.86 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.2707, allocations: 4 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.2707, allocations: 15.97 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.729e-05/0.2708, allocations: 7.938 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.2708, allocations: 4 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.515e-06/0.2708, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.2708, allocations: 4 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.2709, allocations: 15.92 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.74e-05/0.2709, allocations: 15.97 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.271, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.271, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.271, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000423/0.2714, allocations: 342.3 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2714, allocations: 8.031 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.2715, allocations: 30.75 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.2715, allocations: 12.84 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2716, allocations: 172.4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2717, allocations: 4.375 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.2717, allocations: 384 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2718, allocations: 50.19 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2719, allocations: 7.922 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2719, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2719, allocations: 4 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.272, allocations: 27.97 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.2723, allocations: 248.9 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.2725, allocations: 46.47 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.139e-05/0.2726, allocations: 20.91 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2726, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.2726, allocations: 34.56 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.2726, allocations: 3.938 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003537/0.273, allocations: 81.64 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.273, allocations: 51.41 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.2731, allocations: 101.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2731, allocations: 29.83 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.2732, allocations: 91.98 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.2732, allocations: 4.562 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.2732, allocations: 13.72 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.2733, allocations: 314.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.2734, allocations: 15.98 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.2735, allocations: 15.98 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.2736, allocations: 36.89 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2737, allocations: 3.938 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001929/0.2739, allocations: 73.56 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2739, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2739, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2739, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.274, allocations: 15.95 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.274, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.2741, allocations: 11.92 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2741, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/0.2742, allocations: 114.1 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.2742, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.2744, allocations: 72.78 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2744, allocations: 4 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2744, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2744, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.2746, allocations: 165.5 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2746, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.2747, allocations: 7.984 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2747, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2747, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2747, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2747, allocations: 4.031 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.2749, allocations: 167.5 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.275, allocations: 81.2 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.275, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.2751, allocations: 7.984 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2751, allocations: 8.016 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.2751, allocations: 4 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.2752, allocations: 79.28 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2752, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002136/0.2754, allocations: 7.938 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005189/0.2759, allocations: 0.7045 MB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.2762, allocations: 31.97 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2762, allocations: 4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/0.2763, allocations: 11.98 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2766, allocations: 18.17 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.277, allocations: 135.2 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2772, allocations: 0.6729 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.2772, allocations: 4 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.2773, allocations: 11.42 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.2773, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2947, allocations: 1.284 MB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/7.985, allocations: 1.562 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches