Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.271/2.271, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001327/0.001327, allocations: 180.9 kB / 492.3 MB, free: 0.6094 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.682/1.682, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.001028, allocations: 102.2 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.395e-05/4.419e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3079, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.362, allocations: 149.3 MB / 1.358 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.362, allocations: 72.38 kB / 1.358 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009737/1.372, allocations: 3.024 MB / 1.361 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.345e-06/1.372, allocations: 0 / 1.361 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.065e-05/1.372, allocations: 3.812 kB / 1.361 GB, free: 34.73 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000597/1.373, allocations: 428.7 kB / 1.362 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/1.373, allocations: 7.75 kB / 1.362 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.777e-05/1.373, allocations: 39.3 kB / 1.362 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.849e-05/1.373, allocations: 12.86 kB / 1.362 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/1.373, allocations: 216 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/1.373, allocations: 7.156 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/1.373, allocations: 11.66 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/1.374, allocations: 100.6 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.374, allocations: 7.875 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/1.374, allocations: 1.219 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.374, allocations: 3.984 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/1.374, allocations: 43.31 kB / 1.362 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/1.374, allocations: 492.5 kB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.815e-05/1.374, allocations: 50.75 kB / 1.363 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/1.374, allocations: 25.78 kB / 1.363 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/1.374, allocations: 3.875 kB / 1.363 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/1.375, allocations: 119.3 kB / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/1.375, allocations: 0 / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002476/1.375, allocations: 105.3 kB / 1.363 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.375, allocations: 86.41 kB / 1.363 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/1.375, allocations: 124.5 kB / 1.363 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/1.375, allocations: 34.88 kB / 1.363 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/1.375, allocations: 104.5 kB / 1.363 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/1.375, allocations: 9.312 kB / 1.363 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/1.375, allocations: 11.78 kB / 1.363 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.375, allocations: 320.6 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/1.376, allocations: 122.5 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/1.376, allocations: 155.5 kB / 1.364 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/1.376, allocations: 189.7 kB / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.376, allocations: 0 / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005222/1.377, allocations: 388.9 kB / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/1.377, allocations: 69.5 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.377, allocations: 0 / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.377, allocations: 9.359 kB / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.131e-05/1.377, allocations: 0 / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.377, allocations: 8.062 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/1.377, allocations: 80.72 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/1.377, allocations: 17.97 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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 0.0001059/1.377, allocations: 116.8 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/1.377, allocations: 11.09 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/1.377, allocations: 5.484 kB / 1.365 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.377, allocations: 7.828 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.377, allocations: 0 / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.377, allocations: 0 / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/1.377, allocations: 192.1 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.377, allocations: 4 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/1.377, allocations: 1.031 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.378, allocations: 3.875 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.378, allocations: 5.562 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.378, allocations: 0 / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.378, allocations: 3.953 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/1.378, allocations: 153.2 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/1.378, allocations: 80.89 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/1.378, allocations: 1.312 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/1.378, allocations: 3.953 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/1.378, allocations: 9.875 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/1.378, allocations: 8.75 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.293e-05/1.378, allocations: 97.7 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.378, allocations: 0 / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002639/1.378, allocations: 43.44 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0005177/1.379, allocations: 0.7693 MB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003827/1.379, allocations: 318.9 kB / 1.366 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.379, allocations: 4.062 kB / 1.366 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-05/1.379, allocations: 30.27 kB / 1.366 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/1.379, allocations: 19.7 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/1.38, allocations: 197.7 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/1.38, allocations: 0.7019 MB / 1.367 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.723e-05/1.38, allocations: 16.8 kB / 1.367 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/1.38, allocations: 22.34 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/1.38, allocations: 0 / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/1.396, allocations: 3.141 MB / 1.37 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/1.397, allocations: 172.1 kB / 1.371 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.951, allocations: 10.33 kB / 1.371 GB, free: 29.74 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat does not exist to compare? outputFormat=mat