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.816/2.816, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001306/0.001306, allocations: 176.8 kB / 498.1 MB, free: 5.746 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.689/1.689, allocations: 223.2 MB / 0.7948 GB, free: 17.79 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.0008633/0.0008634, allocations: 104 kB / 0.9346 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.000442, allocations: 14.56 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3295, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.5264, allocations: 149.4 MB / 1.369 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.5267, allocations: 75.94 kB / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008725/0.5354, allocations: 3.036 MB / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5355, allocations: 0 / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.5355, allocations: 3.938 kB / 1.372 GB, free: 9.5 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004381/0.5359, allocations: 432.2 kB / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.536, allocations: 12.02 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.5361, allocations: 11.91 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.5363, allocations: 218.9 kB / 1.372 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.5364, allocations: 8 kB / 1.372 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.5364, allocations: 16 kB / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.5366, allocations: 99.3 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.5366, allocations: 0 / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.5366, allocations: 0 / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.5367, allocations: 7.984 kB / 1.373 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.48e-05/0.5367, allocations: 39.95 kB / 1.373 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.5373, allocations: 496.8 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.5374, allocations: 53.14 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.5374, allocations: 0 / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.5376, allocations: 117.1 kB / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.5376, allocations: 3.938 kB / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0002653/0.5379, allocations: 129.5 kB / 1.373 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.5379, allocations: 81.05 kB / 1.373 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.538, allocations: 125 kB / 1.374 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.5381, allocations: 29.7 kB / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.5381, allocations: 104 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.5382, allocations: 15.81 kB / 1.374 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.5382, allocations: 4 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5383, allocations: 323.6 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.5385, allocations: 115.9 kB / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.5387, allocations: 161 kB / 1.374 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.539, allocations: 187.3 kB / 1.374 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.539, allocations: 7.938 kB / 1.374 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005519/0.5395, allocations: 388.6 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.5396, allocations: 72.02 kB / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5396, allocations: 0 / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.5396, allocations: 8.141 kB / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.937e-05/0.5397, allocations: 7.938 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5397, allocations: 4 kB / 1.375 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.54, allocations: 87.84 kB / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.5401, allocations: 15.94 kB / 1.375 GB, free: 5.879 MB / 0.8698 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 () * Number of clocked 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.0001193/0.5402, allocations: 133.8 kB / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.5402, allocations: 11.91 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.5403, allocations: 11.91 kB / 1.375 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5403, allocations: 3.953 kB / 1.375 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5403, allocations: 0 / 1.375 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5403, allocations: 4 kB / 1.375 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.5405, allocations: 189.6 kB / 1.375 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5405, allocations: 3.938 kB / 1.375 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/0.5405, allocations: 7.984 kB / 1.375 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5405, allocations: 0 / 1.375 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5405, allocations: 0 / 1.375 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5405, allocations: 0 / 1.375 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5405, allocations: 8.328 kB / 1.375 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.5407, allocations: 139.7 kB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.5407, allocations: 89 kB / 1.376 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.5408, allocations: 0 / 1.376 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.5408, allocations: 7.953 kB / 1.376 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.5408, allocations: 7.922 kB / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.5408, allocations: 4 kB / 1.376 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.5409, allocations: 99.27 kB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5409, allocations: 0 / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002476/0.5412, allocations: 43.98 kB / 1.376 GB, free: 5.016 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: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked 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.0001612/0.5413, allocations: 119.8 kB / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.5418, allocations: 322.6 kB / 1.376 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5418, allocations: 0 / 1.376 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.5418, allocations: 39.91 kB / 1.376 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.542, allocations: 28.23 kB / 1.376 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.5424, allocations: 215.9 kB / 1.376 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.5427, allocations: 0.7065 MB / 1.377 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.5427, allocations: 15.77 kB / 1.377 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.5428, allocations: 15.44 kB / 1.377 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.5428, allocations: 0 / 1.377 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.004467/0.5472, allocations: 2.08 MB / 1.379 GB, free: 1.426 MB / 0.8698 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