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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.572/2.572, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001123/0.001123, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.522/1.522, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009143/0.0009143, allocations: 99.45 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.393e-05/5.404e-05, allocations: 8 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2955, allocations: 142.3 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.3, allocations: 148.8 MB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.3, allocations: 67.86 kB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002325/1.303, allocations: 0.6775 MB / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/1.303, allocations: 0 / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.303, allocations: 0 / 1.359 GB, free: 34.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002819/1.303, allocations: 334.4 kB / 1.359 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.303, allocations: 12.42 kB / 1.359 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/1.303, allocations: 37.94 kB / 1.359 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/1.303, allocations: 1.531 kB / 1.359 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/1.303, allocations: 171.7 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/1.303, allocations: 3.656 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/1.303, allocations: 0 / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.303, allocations: 36.17 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/1.303, allocations: 4 kB / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/1.303, allocations: 0 / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.303, allocations: 3.875 kB / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/1.303, allocations: 7.984 kB / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/1.304, allocations: 271.7 kB / 1.359 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/1.304, allocations: 30.5 kB / 1.359 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/1.304, allocations: 8.828 kB / 1.359 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/1.304, allocations: 0.7031 kB / 1.359 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/1.304, allocations: 34.19 kB / 1.359 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.304, allocations: 3.875 kB / 1.359 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/1.304, allocations: 42.25 kB / 1.359 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/1.304, allocations: 52.06 kB / 1.36 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/1.304, allocations: 93.66 kB / 1.36 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/1.304, allocations: 25.7 kB / 1.36 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/1.304, allocations: 88.89 kB / 1.36 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/1.304, allocations: 4.422 kB / 1.36 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.304, allocations: 0 / 1.36 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/1.304, allocations: 315.6 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/1.304, allocations: 7.406 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/1.304, allocations: 4.641 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.959e-05/1.304, allocations: 12.84 kB / 1.36 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.304, allocations: 0 / 1.36 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.517e-05/1.305, allocations: 43.34 kB / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.305, allocations: 7.656 kB / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.305, allocations: 0 / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/1.305, allocations: 3.938 kB / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/1.305, allocations: 11.44 kB / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.305, allocations: 0 / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/1.305, allocations: 14.08 kB / 1.36 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/1.305, allocations: 0.5625 kB / 1.36 GB, free: 33.08 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 (2): * Single equations (assignments): 2 * 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 5.953e-05/1.305, allocations: 108.7 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/1.305, allocations: 4.422 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/1.305, allocations: 47.06 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.305, allocations: 2.125 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.305, allocations: 5.531 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.305, allocations: 4.031 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/1.305, allocations: 162.7 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.305, allocations: 3.938 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/1.305, allocations: 10.78 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.305, allocations: 0 / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/1.305, allocations: 0 / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.305, allocations: 3.875 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.305, allocations: 0.7969 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.432e-05/1.305, allocations: 144.2 kB / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/1.305, allocations: 82.12 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/1.305, allocations: 0 / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/1.306, allocations: 10.81 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/1.306, allocations: 7 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/1.306, allocations: 3.266 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.121e-05/1.306, allocations: 79.75 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.306, allocations: 4.031 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001841/1.306, allocations: 7.062 kB / 1.361 GB, free: 32.42 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 (2): * Single equations (assignments): 2 * 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.0003257/1.306, allocations: 0.6772 MB / 1.361 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.265e-05/1.306, allocations: 11.25 kB / 1.361 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.306, allocations: 4.094 kB / 1.361 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-05/1.306, allocations: 12.31 kB / 1.361 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.0001734/1.306, allocations: 5.906 kB / 1.361 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/1.307, allocations: 93.77 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/1.307, allocations: 0.6773 MB / 1.362 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.257e-05/1.307, allocations: 0 / 1.362 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/1.307, allocations: 12.11 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.307, allocations: 4.062 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/1.319, allocations: 0.9977 MB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.32, allocations: 159.5 kB / 1.363 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.974, allocations: 2.391 kB / 1.363 GB, free: 30.55 MB / 0.8386 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat does not exist to compare? outputFormat=mat