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: 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_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001045/0.001044, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.683/1.683, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009607/0.000961, allocations: 103.8 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.231e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.33, allocations: 148.6 MB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/1.33, allocations: 68.86 kB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009888/1.34, allocations: 3.01 MB / 1.354 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.34, allocations: 4.609 kB / 1.354 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.779e-06/1.34, allocations: 0.8438 kB / 1.354 GB, free: 33.75 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.0004202/1.341, allocations: 421.8 kB / 1.355 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.341, allocations: 8.359 kB / 1.355 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/1.341, allocations: 14.22 kB / 1.355 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/1.341, allocations: 220.3 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.341, allocations: 3.906 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/1.341, allocations: 8.547 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.415e-05/1.341, allocations: 40.06 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/1.341, allocations: 98.56 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/1.341, allocations: 0 / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/1.341, allocations: 0.6562 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.341, allocations: 0 / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/1.342, allocations: 467 kB / 1.355 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/1.342, allocations: 52.22 kB / 1.355 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/1.342, allocations: 22.03 kB / 1.355 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/1.342, allocations: 3.25 kB / 1.355 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/1.342, allocations: 115.4 kB / 1.356 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/1.342, allocations: 0 / 1.356 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002472/1.342, allocations: 113.9 kB / 1.356 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.342, allocations: 78.23 kB / 1.356 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/1.343, allocations: 126.7 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/1.343, allocations: 30.28 kB / 1.356 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/1.343, allocations: 108.5 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/1.343, allocations: 9.156 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/1.343, allocations: 7.719 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.343, allocations: 317 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/1.343, allocations: 111.5 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/1.343, allocations: 154.3 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/1.344, allocations: 125.5 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.344, allocations: 0 / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005867/1.344, allocations: 322.6 kB / 1.357 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/1.344, allocations: 67.08 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.344, allocations: 4.516 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.344, allocations: 4 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.986e-05/1.344, allocations: 4.422 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.344, allocations: 12.47 kB / 1.357 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/1.345, allocations: 83.42 kB / 1.357 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/1.345, allocations: 11.36 kB / 1.357 GB, free: 31.75 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.837e-05/1.345, allocations: 113.5 kB / 1.357 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/1.345, allocations: 8.312 kB / 1.357 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/1.345, allocations: 12.69 kB / 1.357 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.345, allocations: 0.5156 kB / 1.357 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.345, allocations: 4 kB / 1.357 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.345, allocations: 8.578 kB / 1.357 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/1.345, allocations: 150.6 kB / 1.357 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.345, allocations: 4.625 kB / 1.357 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.475e-06/1.345, allocations: 4.641 kB / 1.357 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.345, allocations: 0.6094 kB / 1.357 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.345, allocations: 4.578 kB / 1.357 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.345, allocations: 0 / 1.357 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.345, allocations: 8.734 kB / 1.357 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/1.345, allocations: 144.7 kB / 1.358 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/1.345, allocations: 77.72 kB / 1.358 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/1.345, allocations: 4.578 kB / 1.358 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/1.345, allocations: 0.6562 kB / 1.358 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/1.345, allocations: 13.88 kB / 1.358 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/1.345, allocations: 0.6562 kB / 1.358 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.015e-05/1.346, allocations: 102.7 kB / 1.358 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.346, allocations: 3.844 kB / 1.358 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002521/1.346, allocations: 39.67 kB / 1.358 GB, free: 31.17 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.0001738/1.346, allocations: 118.2 kB / 1.358 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003808/1.346, allocations: 304.3 kB / 1.358 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.346, allocations: 0 / 1.358 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/1.346, allocations: 42.55 kB / 1.358 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/1.347, allocations: 21.89 kB / 1.358 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/1.347, allocations: 135.4 kB / 1.358 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/1.347, allocations: 0.7038 MB / 1.359 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.935e-05/1.347, allocations: 13 kB / 1.359 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/1.347, allocations: 8.188 kB / 1.359 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.347, allocations: 7.844 kB / 1.359 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.004297/1.352, allocations: 1.866 MB / 1.361 GB, free: 29.98 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches