Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",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.354/2.354, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001011/0.001011, allocations: 180 kB / 0.4901 GB, free: 2.227 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.479/1.479, allocations: 223.1 MB / 0.7992 GB, free: 15.58 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.001115/0.001115, allocations: 102.4 kB / 0.9396 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005927/0.0005926, allocations: 15.31 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3578, allocations: 143 MB / 1.229 GB, free: 85.33 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.5519, allocations: 149.6 MB / 1.375 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5522, allocations: 67.95 kB / 1.375 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002307/0.5545, allocations: 0.8058 MB / 1.376 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5545, allocations: 0 / 1.376 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.5546, allocations: 4 kB / 1.376 GB, free: 14.66 MB / 0.8855 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.000509/0.5551, allocations: 371.2 kB / 1.377 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.5551, allocations: 8.562 kB / 1.377 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.5552, allocations: 42.55 kB / 1.377 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.5552, allocations: 11.84 kB / 1.377 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.5554, allocations: 167 kB / 1.377 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5554, allocations: 0 / 1.377 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.5554, allocations: 0 / 1.377 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.5557, allocations: 83.62 kB / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.5557, allocations: 7.938 kB / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5557, allocations: 0 / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.5558, allocations: 4 kB / 1.377 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.5561, allocations: 83.92 kB / 1.377 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.5565, allocations: 268.9 kB / 1.377 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.5567, allocations: 70.47 kB / 1.377 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.5567, allocations: 0 / 1.377 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.5567, allocations: 34.56 kB / 1.377 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.5567, allocations: 0 / 1.377 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0005665/0.5573, allocations: 165.6 kB / 1.377 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.5574, allocations: 59.34 kB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.5575, allocations: 101 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.5575, allocations: 25.7 kB / 1.378 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.5575, allocations: 92.06 kB / 1.378 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.5576, allocations: 7.906 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.5576, allocations: 3.938 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5577, allocations: 318.8 kB / 1.378 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.5579, allocations: 39.95 kB / 1.378 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.558, allocations: 43.97 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5582, allocations: 35.97 kB / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5582, allocations: 0 / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003254/0.5585, allocations: 125.5 kB / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5585, allocations: 8 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5585, allocations: 4 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5586, allocations: 0 / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.5587, allocations: 19.98 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5587, allocations: 4 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-05/0.5588, allocations: 23.94 kB / 1.378 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.5588, allocations: 4 kB / 1.378 GB, free: 12.26 MB / 0.8855 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 9.576e-05/0.5589, allocations: 113.8 kB / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.559, allocations: 4 kB / 1.378 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.559, allocations: 11.84 kB / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.559, allocations: 336 / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.559, allocations: 0 / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.559, allocations: 0 / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.5592, allocations: 169.6 kB / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5592, allocations: 7.984 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.5593, allocations: 23.97 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5594, allocations: 0 / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.5594, allocations: 4 kB / 1.379 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5594, allocations: 0 / 1.379 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5594, allocations: 0 / 1.379 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.5598, allocations: 223.3 kB / 1.379 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.5599, allocations: 85.09 kB / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.5599, allocations: 0 / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.56, allocations: 15.98 kB / 1.379 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.56, allocations: 7.938 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.5601, allocations: 3.984 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.5601, allocations: 83.28 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5601, allocations: 4 kB / 1.379 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002001/0.5603, allocations: 8 kB / 1.379 GB, free: 11.41 MB / 0.8855 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.0007346/0.5611, allocations: 0.7522 MB / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.5614, allocations: 91.86 kB / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5614, allocations: 0 / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.5616, allocations: 47.97 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.5618, allocations: 13.02 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.5623, allocations: 162.5 kB / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.5626, allocations: 0.6887 MB / 1.381 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.5626, allocations: 0 / 1.381 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.5626, allocations: 15.44 kB / 1.381 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of SimCode: time 4.4e-07/0.5627, allocations: 0 / 1.381 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.5735, allocations: 1.28 MB / 1.382 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.5737, allocations: 188.6 kB / 1.382 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.236, allocations: 4 kB / 1.382 GB, free: 8.188 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat