Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",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.287/2.287, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001397/0.001397, allocations: 178.8 kB / 0.4901 GB, free: 2.23 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.672/1.672, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001389/0.001389, allocations: 101.5 kB / 0.9396 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003873, allocations: 18.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.286, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.4661, allocations: 149.6 MB / 1.375 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.4664, allocations: 63.97 kB / 1.375 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001728/0.4681, allocations: 0.6219 MB / 1.376 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4682, allocations: 0 / 1.376 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.4682, allocations: 0 / 1.376 GB, free: 3.059 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004218/0.4686, allocations: 348.1 kB / 1.376 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4687, allocations: 8.562 kB / 1.376 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.4687, allocations: 34.56 kB / 1.376 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.4688, allocations: 3.906 kB / 1.376 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.4689, allocations: 175 kB / 1.377 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.469, allocations: 0 / 1.377 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.469, allocations: 0 / 1.377 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.4692, allocations: 53.67 kB / 1.377 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4692, allocations: 0 / 1.377 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4692, allocations: 0 / 1.377 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4692, allocations: 4 kB / 1.377 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.4694, allocations: 47.95 kB / 1.377 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.4698, allocations: 248.9 kB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.4699, allocations: 42.56 kB / 1.377 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.47, allocations: 0 / 1.377 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.47, allocations: 34.55 kB / 1.377 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.47, allocations: 0 / 1.377 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004056/0.4704, allocations: 101.7 kB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.4705, allocations: 55.39 kB / 1.377 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.4706, allocations: 96.94 kB / 1.377 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.4706, allocations: 29.7 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.4706, allocations: 84.27 kB / 1.377 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.4707, allocations: 7.906 kB / 1.377 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.4707, allocations: 0 / 1.377 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4708, allocations: 318.8 kB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.4709, allocations: 15.98 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.471, allocations: 23.98 kB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.52e-05/0.4711, allocations: 23.98 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4711, allocations: 0 / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002146/0.4713, allocations: 89.59 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4713, allocations: 4 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4713, allocations: 0 / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4713, allocations: 0 / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4715, allocations: 11.98 kB / 1.378 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.4715, allocations: 0 / 1.378 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.4715, allocations: 19.83 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4715, allocations: 7.984 kB / 1.378 GB, free: 0.9883 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 (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 7.837e-05/0.4716, allocations: 113.8 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.4717, allocations: 0 / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.4717, allocations: 3.125 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4717, allocations: 0 / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4717, allocations: 0 / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4717, allocations: 4 kB / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.4719, allocations: 161.6 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4719, allocations: 0 / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.472, allocations: 12 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.472, allocations: 0 / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.472, allocations: 0 / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.472, allocations: 3.984 kB / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.472, allocations: 0 / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.4722, allocations: 179.4 kB / 1.378 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.4723, allocations: 81.09 kB / 1.378 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4723, allocations: 0 / 1.378 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.4724, allocations: 8 kB / 1.378 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4724, allocations: 3.984 kB / 1.378 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4724, allocations: 0 / 1.378 GB, free: 348 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.4725, allocations: 87.31 kB / 1.378 GB, free: 260 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.4725, allocations: 0 / 1.378 GB, free: 260 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002025/0.4727, allocations: 4 kB / 1.378 GB, free: 256 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 (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.0006387/0.4733, allocations: 0.7208 MB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.4736, allocations: 51.98 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4736, allocations: 1.625 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.4737, allocations: 23.98 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.4739, allocations: 4 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.4743, allocations: 142.4 kB / 1.379 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.4746, allocations: 0.6809 MB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.4747, allocations: 0 / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.4747, allocations: 19.31 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.4747, allocations: 0 / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.4867, allocations: 1.006 MB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.487, allocations: 186.9 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.96, allocations: 0 / 1.381 GB, free: 13.4 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat does not exist to compare? outputFormat=mat