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.372/2.372, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001235/0.001235, allocations: 179 kB / 492.3 MB, free: 0.6172 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.532/1.532, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.0008209/0.0008211, allocations: 93.3 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.273e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.254, allocations: 142.3 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9081/1.162, allocations: 148.8 MB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.162, allocations: 66.48 kB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003956/1.166, allocations: 0.903 MB / 1.359 GB, free: 34.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.166, allocations: 3.938 kB / 1.359 GB, free: 34.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.166, allocations: 0 / 1.359 GB, free: 34.76 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.0005003/1.167, allocations: 367.8 kB / 1.359 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.167, allocations: 7.656 kB / 1.359 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/1.167, allocations: 38.11 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/1.167, allocations: 3.906 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.537e-05/1.167, allocations: 168.7 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.167, allocations: 4 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/1.167, allocations: 6 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/1.167, allocations: 47.45 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/1.168, allocations: 0 / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.168, allocations: 3.125 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.168, allocations: 4.594 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.309e-05/1.168, allocations: 18.5 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/1.168, allocations: 305.5 kB / 1.36 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.748e-05/1.168, allocations: 36.88 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/1.168, allocations: 16.38 kB / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/1.168, allocations: 0 / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/1.169, allocations: 39.23 kB / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/1.169, allocations: 0 / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002085/1.169, allocations: 45.38 kB / 1.36 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/1.169, allocations: 52.16 kB / 1.36 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/1.169, allocations: 109.4 kB / 1.36 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/1.169, allocations: 29.08 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/1.169, allocations: 81.55 kB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/1.169, allocations: 19.8 kB / 1.36 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.169, allocations: 4 kB / 1.36 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/1.169, allocations: 316.2 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/1.169, allocations: 13.48 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/1.169, allocations: 7.75 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/1.169, allocations: 7.781 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.169, allocations: 0 / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001351/1.169, allocations: 53.97 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.169, allocations: 4.609 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.169, allocations: 4.031 kB / 1.361 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.17, allocations: 4 kB / 1.361 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/1.17, allocations: 21.38 kB / 1.361 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/1.17, allocations: 0 / 1.361 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/1.17, allocations: 20.73 kB / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/1.17, allocations: 3.953 kB / 1.361 GB, free: 33.09 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 7.925e-05/1.17, allocations: 106 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/1.17, allocations: 8.359 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/1.17, allocations: 68.28 kB / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.17, allocations: 1.312 kB / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.17, allocations: 0.5625 kB / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.17, allocations: 0 / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/1.17, allocations: 173.2 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.17, allocations: 0.6094 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/1.171, allocations: 24.3 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/1.171, allocations: 0.5625 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.171, allocations: 0 / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.171, allocations: 0 / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.171, allocations: 4.391 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/1.171, allocations: 153.6 kB / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/1.171, allocations: 85.56 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/1.171, allocations: 7.938 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/1.171, allocations: 17.05 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/1.171, allocations: 8.672 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/1.171, allocations: 0 / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.845e-05/1.171, allocations: 87.05 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.171, allocations: 0 / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003634/1.172, allocations: 7.656 kB / 1.361 GB, free: 32.41 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.0004599/1.172, allocations: 0.6895 MB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001259/1.172, allocations: 23 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.172, allocations: 0 / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/1.172, allocations: 15.61 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/1.173, allocations: 9.797 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/1.173, allocations: 100.5 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/1.173, allocations: 0.6871 MB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.935e-05/1.173, allocations: 3.844 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/1.173, allocations: 16 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.174, allocations: 0 / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/1.189, allocations: 1.284 MB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/1.189, allocations: 168.2 kB / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/2.654, allocations: 0 / 1.364 GB, free: 30.54 MB / 0.8386 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