Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.18/2.18, allocations: 390.5 MB / 398 MB, free: 10.94 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.001061/0.001061, allocations: 188.8 kB / 491.2 MB, free: 1.539 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.593/1.593, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001012/0.001012, allocations: 95.56 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.261e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3386, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.465, allocations: 149.4 MB / 1.358 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/1.466, allocations: 70.34 kB / 1.358 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009438/1.475, allocations: 3.013 MB / 1.361 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.475, allocations: 0 / 1.361 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.528e-06/1.475, allocations: 0 / 1.361 GB, free: 32.99 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.0004272/1.476, allocations: 424.7 kB / 1.362 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.476, allocations: 9.969 kB / 1.362 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/1.476, allocations: 14.53 kB / 1.362 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/1.476, allocations: 219.8 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/1.476, allocations: 0 / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/1.476, allocations: 14.67 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.177e-05/1.476, allocations: 34.81 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/1.476, allocations: 98 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.476, allocations: 7.938 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.477, allocations: 0 / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.477, allocations: 0 / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/1.477, allocations: 457.2 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/1.477, allocations: 56 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/1.477, allocations: 24.64 kB / 1.363 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/1.477, allocations: 3.844 kB / 1.363 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/1.477, allocations: 119.2 kB / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/1.477, allocations: 0 / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002547/1.478, allocations: 99.95 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.478, allocations: 82.11 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.478, allocations: 121.4 kB / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/1.478, allocations: 29.67 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/1.478, allocations: 108 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/1.478, allocations: 13.42 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/1.478, allocations: 3.781 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.478, allocations: 321.2 kB / 1.363 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/1.478, allocations: 116.8 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/1.478, allocations: 150 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/1.479, allocations: 127 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.479, allocations: 0 / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005639/1.479, allocations: 321.5 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/1.479, allocations: 65.92 kB / 1.364 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.479, allocations: 3.812 kB / 1.364 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.479, allocations: 0 / 1.364 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.399e-05/1.479, allocations: 9.406 kB / 1.364 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/1.48, allocations: 4.188 kB / 1.364 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/1.48, allocations: 83 kB / 1.364 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/1.48, allocations: 14.23 kB / 1.364 GB, free: 30.99 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 9.63e-05/1.48, allocations: 114.1 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/1.48, allocations: 7.781 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/1.48, allocations: 13.34 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.48, allocations: 0 / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.48, allocations: 3.953 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.48, allocations: 2.5 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/1.48, allocations: 163 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.48, allocations: 3.969 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-06/1.48, allocations: 7.922 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.48, allocations: 5.672 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/1.48, allocations: 3.875 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.48, allocations: 0 / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.48, allocations: 0 / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/1.48, allocations: 150.2 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/1.48, allocations: 77.11 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/1.48, allocations: 8.344 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/1.48, allocations: 0 / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/1.481, allocations: 11.22 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/1.481, allocations: 0 / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.139e-05/1.481, allocations: 98.8 kB / 1.365 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.481, allocations: 0 / 1.365 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002449/1.481, allocations: 40.03 kB / 1.365 GB, free: 30.42 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.0001652/1.481, allocations: 117.4 kB / 1.365 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003347/1.481, allocations: 308.9 kB / 1.365 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.481, allocations: 0 / 1.365 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/1.481, allocations: 35.56 kB / 1.365 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/1.482, allocations: 11.69 kB / 1.365 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/1.482, allocations: 145.1 kB / 1.366 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/1.482, allocations: 0.7044 MB / 1.366 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.792e-05/1.482, allocations: 16.81 kB / 1.366 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/1.482, allocations: 11.28 kB / 1.366 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.482, allocations: 0 / 1.366 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.004101/1.486, allocations: 1.883 MB / 1.368 GB, free: 29.21 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches