Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.274/2.274, allocations: 390.5 MB / 398 MB, free: 10.92 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.001054/0.001054, allocations: 179.9 kB / 491.2 MB, free: 1.598 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.516/1.516, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009044/0.0009042, allocations: 95.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.247e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.418, allocations: 148.9 MB / 1.358 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.418, allocations: 70.27 kB / 1.358 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004055/1.422, allocations: 0.8907 MB / 1.359 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.786e-06/1.422, allocations: 0 / 1.359 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.929e-06/1.423, allocations: 3.844 kB / 1.359 GB, free: 32.94 MB / 0.8386 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.0005256/1.423, allocations: 369.2 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/1.423, allocations: 7.688 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/1.423, allocations: 7.719 kB / 1.359 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/1.423, allocations: 176.8 kB / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.423, allocations: 0.6875 kB / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/1.423, allocations: 0 / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001132/1.423, allocations: 17.72 kB / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/1.424, allocations: 42.19 kB / 1.359 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.424, allocations: 6.938 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/1.424, allocations: 0 / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.424, allocations: 0 / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/1.424, allocations: 287.7 kB / 1.36 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/1.424, allocations: 31.19 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/1.424, allocations: 18.42 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/1.424, allocations: 1.172 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/1.424, allocations: 30.56 kB / 1.36 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/1.424, allocations: 0 / 1.36 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002031/1.425, allocations: 45.8 kB / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/1.425, allocations: 59.28 kB / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/1.425, allocations: 102.5 kB / 1.36 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/1.425, allocations: 29.64 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/1.425, allocations: 84.86 kB / 1.36 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/1.425, allocations: 16.7 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/1.425, allocations: 3.938 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.425, allocations: 320 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/1.425, allocations: 6.844 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/1.425, allocations: 17.88 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/1.425, allocations: 10.48 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.425, allocations: 0 / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001054/1.425, allocations: 47.34 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.425, allocations: 7.781 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.425, allocations: 0 / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.425, allocations: 0 / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/1.426, allocations: 20.42 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.426, allocations: 4.516 kB / 1.361 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/1.426, allocations: 18.66 kB / 1.361 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/1.426, allocations: 0.75 kB / 1.361 GB, free: 31.34 MB / 0.8386 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 () * 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 8.696e-05/1.426, allocations: 104.9 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001251/1.426, allocations: 57.86 kB / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/1.426, allocations: 4.578 kB / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/1.426, allocations: 58.39 kB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/1.426, allocations: 0.75 kB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.426, allocations: 0 / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.426, allocations: 3.953 kB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/1.426, allocations: 145.5 kB / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.426, allocations: 4.734 kB / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/1.427, allocations: 20.39 kB / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/1.427, allocations: 0 / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/1.427, allocations: 8.641 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.427, allocations: 4.969 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.427, allocations: 0 / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/1.427, allocations: 153 kB / 1.361 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/1.427, allocations: 77.81 kB / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/1.427, allocations: 0 / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/1.427, allocations: 20.62 kB / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/1.427, allocations: 6.047 kB / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/1.427, allocations: 0.7031 kB / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.74e-05/1.427, allocations: 85.39 kB / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.427, allocations: 0 / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003681/1.428, allocations: 7.625 kB / 1.361 GB, free: 30.67 MB / 0.8386 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 () * 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.0005361/1.428, allocations: 0.6879 MB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001252/1.428, allocations: 19.48 kB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.428, allocations: 3.938 kB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/1.428, allocations: 15.17 kB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/1.429, allocations: 4.672 kB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/1.429, allocations: 99.7 kB / 1.362 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/1.43, allocations: 0.6862 MB / 1.363 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.243e-05/1.43, allocations: 8.328 kB / 1.363 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/1.43, allocations: 15.66 kB / 1.363 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of SimCode: time 7.91e-07/1.43, allocations: 0 / 1.363 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/1.453, allocations: 0.9683 MB / 1.364 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.453, allocations: 142.5 kB / 1.364 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/3.024, allocations: 3.938 kB / 1.364 GB, free: 28.93 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat does not exist to compare? outputFormat=mat