Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.396/2.396, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001096/0.001096, allocations: 181.1 kB / 498.1 MB, free: 5.676 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.495/1.495, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001027/0.001027, allocations: 104.2 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003785, allocations: 13.62 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2805, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.4547, allocations: 149.4 MB / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.455, allocations: 75.89 kB / 1.369 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005387/0.4604, allocations: 1.833 MB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4604, allocations: 0 / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.4605, allocations: 0 / 1.371 GB, free: 10.65 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.0004022/0.4609, allocations: 381 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.4609, allocations: 8.031 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.461, allocations: 30.56 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.461, allocations: 12 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4612, allocations: 186.8 kB / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4613, allocations: 4 kB / 1.371 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.4613, allocations: 4 kB / 1.371 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.4614, allocations: 45.62 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4614, allocations: 0 / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4615, allocations: 8 kB / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4615, allocations: 4 kB / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.4615, allocations: 7.984 kB / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.4619, allocations: 300.9 kB / 1.372 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.462, allocations: 22.52 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.462, allocations: 0 / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.4621, allocations: 63.44 kB / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4621, allocations: 0 / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002157/0.4623, allocations: 73.48 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.4624, allocations: 51.41 kB / 1.372 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/0.4625, allocations: 105 kB / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4625, allocations: 29.7 kB / 1.372 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.4626, allocations: 88.12 kB / 1.372 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.4626, allocations: 7.906 kB / 1.372 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.4626, allocations: 8 kB / 1.372 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4627, allocations: 314.8 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.4628, allocations: 27.98 kB / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.4629, allocations: 46.56 kB / 1.372 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.377e-05/0.463, allocations: 57.69 kB / 1.372 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.463, allocations: 0 / 1.372 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002342/0.4632, allocations: 147.2 kB / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.4633, allocations: 34.95 kB / 1.373 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4633, allocations: 7.984 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4633, allocations: 3.938 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-05/0.4634, allocations: 3.938 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4634, allocations: 3.953 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.4636, allocations: 43.97 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.4636, allocations: 4 kB / 1.373 GB, free: 8.301 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.992e-05/0.4637, allocations: 117.8 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.4637, allocations: 4 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.4637, allocations: 3.906 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4637, allocations: 0 / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4638, allocations: 0 / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4638, allocations: 7.953 kB / 1.373 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.4639, allocations: 165.7 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4639, allocations: 0 / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-06/0.4639, allocations: 4 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4639, allocations: 0 / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4639, allocations: 0 / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4639, allocations: 0 / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4639, allocations: 0 / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.4641, allocations: 85.02 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.4641, allocations: 89 kB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.4641, allocations: 0 / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.4641, allocations: 0 / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.4642, allocations: 4 kB / 1.373 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4642, allocations: 0 / 1.373 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.4642, allocations: 87.58 kB / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4642, allocations: 0 / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002125/0.4645, allocations: 20 kB / 1.373 GB, free: 7.621 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.0004156/0.4649, allocations: 0.64 MB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.4651, allocations: 119.3 kB / 1.374 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4651, allocations: 0 / 1.374 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.4651, allocations: 15.98 kB / 1.374 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.4653, allocations: 7.984 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.466, allocations: 0.6479 MB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4663, allocations: 0.6809 MB / 1.375 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.4663, allocations: 4 kB / 1.375 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.4663, allocations: 23.36 kB / 1.375 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.4663, allocations: 0 / 1.375 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.4811, allocations: 1.705 MB / 1.377 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.4813, allocations: 204.2 kB / 1.377 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.987, allocations: 0.875 kB / 1.377 GB, free: 3.59 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat does not exist to compare? outputFormat=mat