Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.21/2.21, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001228/0.001228, allocations: 187.8 kB / 498.1 MB, free: 5.691 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.465/1.465, allocations: 223.2 MB / 0.7948 GB, free: 18.79 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.0008417/0.0008417, allocations: 96.08 kB / 0.9346 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 12.2 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 142.4 MB / 1.223 GB, free: 89.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.4761, allocations: 148.8 MB / 1.368 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4763, allocations: 75.94 kB / 1.368 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002085/0.4784, allocations: 0.8058 MB / 1.369 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4784, allocations: 0 / 1.369 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4784, allocations: 4 kB / 1.369 GB, free: 3.562 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.0004486/0.4789, allocations: 367.2 kB / 1.369 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4789, allocations: 8.031 kB / 1.369 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.479, allocations: 30.56 kB / 1.37 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.479, allocations: 7.906 kB / 1.37 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.4791, allocations: 183 kB / 1.37 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.4792, allocations: 3.938 kB / 1.37 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.4792, allocations: 0 / 1.37 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.4794, allocations: 79.69 kB / 1.37 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4794, allocations: 0 / 1.37 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4795, allocations: 7.938 kB / 1.37 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4795, allocations: 3.938 kB / 1.37 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.4798, allocations: 87.92 kB / 1.37 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.4803, allocations: 300.9 kB / 1.37 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.4805, allocations: 62.53 kB / 1.37 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.4805, allocations: 0 / 1.37 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.4805, allocations: 46.5 kB / 1.37 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.4805, allocations: 0 / 1.37 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005381/0.4811, allocations: 161.6 kB / 1.37 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4811, allocations: 55.36 kB / 1.37 GB, free: 2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.4812, allocations: 97 kB / 1.371 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.4812, allocations: 29.7 kB / 1.371 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.4813, allocations: 96.06 kB / 1.371 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.4813, allocations: 3.906 kB / 1.371 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.4813, allocations: 0 / 1.371 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.4814, allocations: 318.8 kB / 1.371 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4815, allocations: 43.95 kB / 1.371 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4817, allocations: 44.09 kB / 1.371 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.4818, allocations: 52.03 kB / 1.371 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4818, allocations: 0 / 1.371 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000321/0.4822, allocations: 121.5 kB / 1.371 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4822, allocations: 4 kB / 1.371 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4822, allocations: 0 / 1.371 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4822, allocations: 0 / 1.371 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.4824, allocations: 23.98 kB / 1.371 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4824, allocations: 4 kB / 1.371 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-05/0.4825, allocations: 19.94 kB / 1.371 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4825, allocations: 3.984 kB / 1.371 GB, free: 1.125 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 6.966e-05/0.4826, allocations: 113.8 kB / 1.371 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.4826, allocations: 0 / 1.371 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.4826, allocations: 7.906 kB / 1.371 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4826, allocations: 4 kB / 1.371 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4826, allocations: 0 / 1.371 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4826, allocations: 0 / 1.371 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.4828, allocations: 177.5 kB / 1.372 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4828, allocations: 3.984 kB / 1.372 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.4829, allocations: 19.98 kB / 1.372 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4829, allocations: 3.938 kB / 1.372 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.483, allocations: 3.938 kB / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.483, allocations: 0 / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.483, allocations: 4 kB / 1.372 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.4833, allocations: 215.4 kB / 1.372 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.4834, allocations: 85.09 kB / 1.372 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.4834, allocations: 0 / 1.372 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4835, allocations: 15.98 kB / 1.372 GB, free: 392 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.4836, allocations: 7.984 kB / 1.372 GB, free: 384 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.4836, allocations: 8 kB / 1.372 GB, free: 376 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.949e-05/0.4836, allocations: 83.58 kB / 1.372 GB, free: 292 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4836, allocations: 0 / 1.372 GB, free: 292 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002112/0.4839, allocations: 15.91 kB / 1.372 GB, free: 276 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.0006346/0.4845, allocations: 0.7512 MB / 1.373 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.4848, allocations: 95.92 kB / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4848, allocations: 0 / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.485, allocations: 47.91 kB / 1.373 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.4852, allocations: 3.984 kB / 1.373 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.4856, allocations: 166.3 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.4858, allocations: 0.6848 MB / 1.374 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.4859, allocations: 4 kB / 1.374 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.4859, allocations: 11.44 kB / 1.374 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of SimCode: time 2.6e-07/0.4859, allocations: 0 / 1.374 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.4977, allocations: 1.277 MB / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.498, allocations: 184.7 kB / 1.375 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.066, allocations: 0 / 1.375 GB, free: 13.02 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat