Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.196/2.196, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00105/0.00105, allocations: 181.1 kB / 498.1 MB, free: 5.75 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.46/1.46, allocations: 223.2 MB / 0.7948 GB, free: 18.02 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.0009402/0.0009404, allocations: 103.8 kB / 0.9346 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.000511, allocations: 11.33 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2753, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.4551, allocations: 149.4 MB / 1.369 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4554, allocations: 75.94 kB / 1.369 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005285/0.4607, allocations: 1.795 MB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4607, allocations: 0 / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4607, allocations: 0 / 1.371 GB, free: 10.82 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004012/0.4612, allocations: 373 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4612, allocations: 12.03 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.4613, allocations: 30.56 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.4613, allocations: 4 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.4614, allocations: 171 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4615, allocations: 8 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4615, allocations: 4 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.449e-05/0.4616, allocations: 29.7 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.4616, allocations: 3.984 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.4616, allocations: 4 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4616, allocations: 4 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.4616, allocations: 7.938 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.462, allocations: 288.8 kB / 1.372 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.824e-05/0.462, allocations: 14.58 kB / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-06/0.4621, allocations: 4.062 kB / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.4622, allocations: 75.22 kB / 1.372 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4622, allocations: 0 / 1.372 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001646/0.4624, allocations: 61.69 kB / 1.372 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4624, allocations: 59.34 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/0.4625, allocations: 100.9 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.4625, allocations: 25.7 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.4626, allocations: 88.14 kB / 1.372 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.4626, allocations: 7.891 kB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.4626, allocations: 8 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4628, allocations: 310.8 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.4628, allocations: 31.98 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.4629, allocations: 46.5 kB / 1.372 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.664e-05/0.463, allocations: 57.69 kB / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.463, allocations: 0 / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002308/0.4632, allocations: 143.3 kB / 1.373 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.4633, allocations: 37.69 kB / 1.373 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4633, allocations: 3.938 kB / 1.373 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.4633, allocations: 4 kB / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.288e-05/0.4633, allocations: 0 / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4633, allocations: 0 / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.4635, allocations: 51.92 kB / 1.373 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.4635, allocations: 4 kB / 1.373 GB, free: 8.535 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.311e-05/0.4636, allocations: 113.8 kB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.4636, allocations: 4 kB / 1.373 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.4637, allocations: 7.906 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.4637, allocations: 3.938 kB / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4637, allocations: 0 / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4637, allocations: 4.172 kB / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.4638, allocations: 169.6 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4638, allocations: 0 / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-06/0.4638, allocations: 3.984 kB / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4638, allocations: 0 / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.4639, allocations: 0 / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4639, allocations: 0 / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4639, allocations: 0 / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.259e-05/0.464, allocations: 81.08 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.464, allocations: 85 kB / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.464, allocations: 4 kB / 1.373 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.609e-05/0.4641, allocations: 4.312 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.4641, allocations: 0 / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.4641, allocations: 0 / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.4641, allocations: 95.27 kB / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4641, allocations: 0 / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002/0.4643, allocations: 20 kB / 1.373 GB, free: 7.848 MB / 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003974/0.4648, allocations: 0.6317 MB / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.465, allocations: 119.3 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.465, allocations: 0 / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-05/0.465, allocations: 12 kB / 1.374 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.4651, allocations: 7.984 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.4657, allocations: 0.6364 MB / 1.375 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.466, allocations: 0.6848 MB / 1.375 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.881e-05/0.466, allocations: 4 kB / 1.375 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.466, allocations: 11.44 kB / 1.375 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of SimCode: time 1.633e-06/0.466, allocations: 0 / 1.375 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.4789, allocations: 1.679 MB / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.4791, allocations: 185 kB / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.99, allocations: 0 / 1.377 GB, free: 3.832 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat does not exist to compare? outputFormat=mat