Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 173.2 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 0.7948 GB, free: 18.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009835/0.0009837, allocations: 100.3 kB / 0.9346 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 15.62 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2697, allocations: 142.3 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.469, allocations: 148.9 MB / 1.368 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4693, allocations: 71.95 kB / 1.368 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002656/0.4719, allocations: 0.8977 MB / 1.369 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.472, allocations: 4 kB / 1.369 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.472, allocations: 0 / 1.369 GB, free: 3.465 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005802/0.4726, allocations: 376.8 kB / 1.37 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4726, allocations: 8.031 kB / 1.37 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.4727, allocations: 30.56 kB / 1.37 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.4727, allocations: 7.906 kB / 1.37 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.4729, allocations: 178.9 kB / 1.37 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4729, allocations: 3.938 kB / 1.37 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.4729, allocations: 0 / 1.37 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.4732, allocations: 85.64 kB / 1.37 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.4732, allocations: 0 / 1.37 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4732, allocations: 3.938 kB / 1.37 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4733, allocations: 0 / 1.37 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.4736, allocations: 87.92 kB / 1.37 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.4741, allocations: 300.9 kB / 1.37 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.4743, allocations: 70.48 kB / 1.37 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.4744, allocations: 8.078 kB / 1.37 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.4744, allocations: 30.56 kB / 1.37 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.4744, allocations: 0 / 1.37 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005627/0.475, allocations: 165.5 kB / 1.371 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.475, allocations: 59.3 kB / 1.371 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.4751, allocations: 109 kB / 1.371 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4752, allocations: 25.7 kB / 1.371 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.4752, allocations: 88.12 kB / 1.371 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.4753, allocations: 7.891 kB / 1.371 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.4753, allocations: 4 kB / 1.371 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4754, allocations: 318.8 kB / 1.371 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.4756, allocations: 39.97 kB / 1.371 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.4757, allocations: 43.95 kB / 1.371 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.4759, allocations: 39.97 kB / 1.371 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4759, allocations: 0 / 1.371 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003459/0.4762, allocations: 129.5 kB / 1.371 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4763, allocations: 4.938 kB / 1.371 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4763, allocations: 0 / 1.371 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4763, allocations: 4 kB / 1.371 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.4764, allocations: 19.92 kB / 1.371 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4764, allocations: 8 kB / 1.371 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.4766, allocations: 27.88 kB / 1.371 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.4766, allocations: 0 / 1.371 GB, free: 1.008 MB / 0.8698 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.834e-05/0.4767, allocations: 113.8 kB / 1.372 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.4767, allocations: 4 kB / 1.372 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.4771, allocations: 129.4 kB / 1.372 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4771, allocations: 4 kB / 1.372 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4771, allocations: 0 / 1.372 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4771, allocations: 0 / 1.372 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.4773, allocations: 165.6 kB / 1.372 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4773, allocations: 4 kB / 1.372 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.4774, allocations: 35.84 kB / 1.372 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4774, allocations: 0 / 1.372 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.4774, allocations: 3.938 kB / 1.372 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4774, allocations: 0 / 1.372 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4775, allocations: 0 / 1.372 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.4778, allocations: 211.4 kB / 1.372 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.4779, allocations: 93 kB / 1.372 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.4779, allocations: 4 kB / 1.372 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.478, allocations: 15.98 kB / 1.372 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.4781, allocations: 0 / 1.372 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.4781, allocations: 0 / 1.372 GB, free: 136 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.4782, allocations: 91.27 kB / 1.372 GB, free: 44 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4782, allocations: 0 / 1.372 GB, free: 44 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002091/0.4784, allocations: 12 kB / 1.372 GB, free: 32 kB / 0.8698 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007671/0.4791, allocations: 0.7483 MB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.4795, allocations: 91.97 kB / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4795, allocations: 0 / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.4797, allocations: 55.98 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.4799, allocations: 7.984 kB / 1.373 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.4804, allocations: 154.4 kB / 1.373 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.4807, allocations: 0.6887 MB / 1.374 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.4808, allocations: 4 kB / 1.374 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.4808, allocations: 11.44 kB / 1.374 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.4808, allocations: 0 / 1.374 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.4934, allocations: 1.287 MB / 1.375 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.4937, allocations: 182.9 kB / 1.375 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.024, allocations: 0 / 1.375 GB, free: 12.78 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat does not exist to compare? outputFormat=mat