Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.267/2.267, 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.001071/0.001071, allocations: 180.5 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.465/1.465, allocations: 223.2 MB / 0.7949 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.0009458/0.0009458, allocations: 102.3 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.5238, allocations: 149.4 MB / 1.369 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.524, allocations: 71.91 kB / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005149/0.5292, allocations: 1.827 MB / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5292, allocations: 0 / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.5292, allocations: 0 / 1.371 GB, free: 10.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003496/0.5296, allocations: 376.9 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5296, allocations: 15.97 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.5297, allocations: 4 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.5299, allocations: 194.9 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5299, allocations: 0 / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.5299, allocations: 8 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.199e-05/0.53, allocations: 41.69 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.53, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5301, allocations: 4 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.5301, allocations: 0 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.5301, allocations: 15.92 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.5304, allocations: 300.9 kB / 1.372 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.09e-05/0.5305, allocations: 18.58 kB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.5305, allocations: 0 / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.214e-05/0.5306, allocations: 67.39 kB / 1.372 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5306, allocations: 4 kB / 1.372 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001638/0.5308, allocations: 61.64 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.5308, allocations: 51.41 kB / 1.372 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.5309, allocations: 104.9 kB / 1.372 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.5309, allocations: 33.7 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.531, allocations: 80.14 kB / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.308e-06/0.531, allocations: 7.906 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.531, allocations: 4 kB / 1.372 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5311, allocations: 322.8 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.5312, allocations: 27.98 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.5313, allocations: 46.56 kB / 1.372 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.832e-05/0.5314, allocations: 57.69 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5314, allocations: 0 / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002251/0.5316, allocations: 139.3 kB / 1.373 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.5316, allocations: 41.69 kB / 1.373 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.5317, allocations: 4.094 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5317, allocations: 0 / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.528e-05/0.5317, allocations: 7.938 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5317, allocations: 3.953 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.5319, allocations: 39.81 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.5319, allocations: 8 kB / 1.373 GB, free: 8.457 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.354e-05/0.532, allocations: 125.8 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.532, allocations: 0 / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.532, allocations: 3.906 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5321, allocations: 4.234 kB / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.5321, allocations: 0 / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5321, allocations: 7.938 kB / 1.373 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.5322, allocations: 165.7 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5322, allocations: 3.938 kB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.5322, allocations: 4 kB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5322, allocations: 0 / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.5322, allocations: 0 / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5322, allocations: 4 kB / 1.373 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5322, allocations: 0 / 1.373 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.273e-05/0.5323, allocations: 77.08 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.5324, allocations: 85 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.5324, allocations: 0 / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.5324, allocations: 4 kB / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.5325, allocations: 7.938 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.5325, allocations: 320 / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.5326, allocations: 95.27 kB / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5326, allocations: 0 / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000205/0.5328, allocations: 20 kB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001616/0.533, allocations: 107 kB / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.5332, allocations: 123.4 kB / 1.373 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5332, allocations: 8.125 kB / 1.373 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.5332, allocations: 15.94 kB / 1.373 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.5333, allocations: 7.953 kB / 1.373 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.5336, allocations: 134.6 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.5338, allocations: 0.6848 MB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.5338, allocations: 8 kB / 1.374 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.5339, allocations: 11.44 kB / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.5339, allocations: 0 / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.003067/0.5369, allocations: 0.9537 MB / 1.375 GB, free: 5.645 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches