Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.31/2.31, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001195/0.001195, allocations: 181.1 kB / 498.1 MB, free: 5.73 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.522/1.522, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.0008334/0.0008334, allocations: 107.1 kB / 0.9346 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003943, allocations: 10.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.4629, allocations: 149 MB / 1.368 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4632, allocations: 75.88 kB / 1.369 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003865/0.4671, allocations: 1.247 MB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4671, allocations: 0 / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.4671, allocations: 4 kB / 1.37 GB, free: 11.57 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006094/0.4677, allocations: 407 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4678, allocations: 12.03 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.4678, allocations: 38.55 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.4679, allocations: 7.906 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.4681, allocations: 198.9 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4681, allocations: 4 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.4682, allocations: 8 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.4686, allocations: 167.3 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4686, allocations: 4 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4686, allocations: 4 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4686, allocations: 0 / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.4691, allocations: 175.8 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.4697, allocations: 444.8 kB / 1.371 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.47, allocations: 125.1 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.47, allocations: 7.953 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4701, allocations: 34.5 kB / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.654e-06/0.4701, allocations: 0 / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0007612/0.4708, allocations: 265.6 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.4709, allocations: 81.05 kB / 1.372 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.471, allocations: 113.5 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.471, allocations: 25.7 kB / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.4711, allocations: 103.9 kB / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.4711, allocations: 4 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.4711, allocations: 7.938 kB / 1.372 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4712, allocations: 318.8 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.4714, allocations: 71.95 kB / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.4716, allocations: 89.62 kB / 1.372 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.4719, allocations: 63.94 kB / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4719, allocations: 4 kB / 1.372 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004501/0.4723, allocations: 189.4 kB / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.4724, allocations: 11.95 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4724, allocations: 0 / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4724, allocations: 0 / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.4726, allocations: 27.97 kB / 1.373 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4726, allocations: 0 / 1.373 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4727, allocations: 32 kB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.4727, allocations: 0 / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.991e-05/0.4728, allocations: 129.8 kB / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.4729, allocations: 4 kB / 1.373 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.4729, allocations: 15.42 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4729, allocations: 0 / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.473, allocations: 4 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.473, allocations: 0 / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.4732, allocations: 197.6 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4732, allocations: 0 / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.4734, allocations: 31.95 kB / 1.373 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4734, allocations: 4 kB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4734, allocations: 0 / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4734, allocations: 7.953 kB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4734, allocations: 0 / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.474, allocations: 372.4 kB / 1.373 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.474, allocations: 85.02 kB / 1.373 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.474, allocations: 11.89 kB / 1.373 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.4742, allocations: 19.97 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.4743, allocations: 23.97 kB / 1.374 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.4743, allocations: 7.984 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.4744, allocations: 99.2 kB / 1.374 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4744, allocations: 0 / 1.374 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002599/0.4746, allocations: 12 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0008685/0.4755, allocations: 0.9809 MB / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.476, allocations: 159.8 kB / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.476, allocations: 0 / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.4763, allocations: 104 kB / 1.375 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.4765, allocations: 12.05 kB / 1.375 GB, free: 5.941 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.478, allocations: 0.8423 MB / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.4782, allocations: 0.7043 MB / 1.376 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.197e-05/0.4783, allocations: 19.94 kB / 1.376 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.4784, allocations: 27.42 kB / 1.376 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/0.4784, allocations: 0 / 1.376 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.4934, allocations: 1.969 MB / 1.378 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.4936, allocations: 193.6 kB / 1.379 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.172, allocations: 0 / 1.379 GB, free: 2.242 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat does not exist to compare? outputFormat=mat