Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Logical.Validation.Nor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.194/2.194, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001127/0.001127, allocations: 179.5 kB / 498.1 MB, free: 5.809 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.605/1.605, 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.001044/0.001044, allocations: 110.5 kB / 0.9346 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003542, allocations: 13.97 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2653, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.4483, allocations: 149.4 MB / 1.369 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.4487, allocations: 67.97 kB / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009035/0.4577, allocations: 2.942 MB / 1.372 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.318e-06/0.4578, allocations: 0 / 1.372 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4578, allocations: 3.938 kB / 1.372 GB, free: 9.691 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.000437/0.4582, allocations: 414.6 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4583, allocations: 12.03 kB / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.4583, allocations: 30.56 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.4584, allocations: 11.91 kB / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4585, allocations: 175 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4585, allocations: 8 kB / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.4586, allocations: 8 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.4587, allocations: 41.69 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4587, allocations: 0 / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4587, allocations: 7.984 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4587, allocations: 4 kB / 1.372 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.362e-05/0.4588, allocations: 15.88 kB / 1.372 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.4592, allocations: 356.7 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.4593, allocations: 34.56 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.4593, allocations: 4 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.4595, allocations: 87.39 kB / 1.373 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.674e-06/0.4595, allocations: 0 / 1.373 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002618/0.4598, allocations: 97.58 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.4598, allocations: 63.36 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.4599, allocations: 109.1 kB / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.4599, allocations: 29.7 kB / 1.373 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.46, allocations: 96.31 kB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.46, allocations: 15.8 kB / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.4601, allocations: 7.938 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.4601, allocations: 322.8 kB / 1.374 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4603, allocations: 51.97 kB / 1.374 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4604, allocations: 100.2 kB / 1.374 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.4606, allocations: 104.2 kB / 1.374 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4606, allocations: 4 kB / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004175/0.461, allocations: 256.9 kB / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.4611, allocations: 71.39 kB / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4611, allocations: 0 / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4611, allocations: 4 kB / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.4611, allocations: 7.922 kB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4611, allocations: 4 kB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.4615, allocations: 79.83 kB / 1.374 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.4615, allocations: 12 kB / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.773e-05/0.4616, allocations: 121.8 kB / 1.374 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.4616, allocations: 3.906 kB / 1.374 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.4617, allocations: 16.38 kB / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4617, allocations: 0 / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4617, allocations: 0 / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4617, allocations: 0 / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.4618, allocations: 177.6 kB / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4619, allocations: 0 / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.4619, allocations: 4.406 kB / 1.375 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4619, allocations: 7.938 kB / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4619, allocations: 0 / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4619, allocations: 0 / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4619, allocations: 0 / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.462, allocations: 125.3 kB / 1.375 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.4621, allocations: 81.02 kB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.4621, allocations: 15.97 kB / 1.375 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.4622, allocations: 0 / 1.375 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.4622, allocations: 4 kB / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.4622, allocations: 3.984 kB / 1.375 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.4623, allocations: 87.28 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4623, allocations: 4 kB / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002598/0.4625, allocations: 39.98 kB / 1.375 GB, free: 6.031 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004199/0.463, allocations: 0.6514 MB / 1.376 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.4633, allocations: 246.7 kB / 1.376 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4633, allocations: 4.25 kB / 1.376 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.4634, allocations: 31.92 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.4636, allocations: 11.98 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.4643, allocations: 0.9988 MB / 1.377 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.4645, allocations: 0.6901 MB / 1.378 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.4645, allocations: 7.781 kB / 1.378 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.4646, allocations: 15.44 kB / 1.378 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of SimCode: time 3.4e-07/0.4646, allocations: 0 / 1.378 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.4782, allocations: 2.524 MB / 1.38 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.4785, allocations: 182.2 kB / 1.38 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.066, allocations: 0.5 kB / 1.38 GB, free: 0.5977 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat does not exist to compare? outputFormat=mat