Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.3 MB / 261.9 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009359/0.0009363, allocations: 180.3 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 0.572 GB, free: 10.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008634/0.0008635, allocations: 86.47 kB / 0.6764 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.636e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2246, allocations: 106.3 MB / 0.8918 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7393/0.964, allocations: 131.4 MB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.9643, allocations: 79.69 kB / 1.02 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001738/0.966, allocations: 0.673 MB / 1.021 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.966, allocations: 0 / 1.021 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.966, allocations: 0 / 1.021 GB, free: 2.629 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003375/0.9664, allocations: 334.2 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.9664, allocations: 12.03 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.9665, allocations: 0 / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.9667, allocations: 178.6 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.9667, allocations: 4 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.9667, allocations: 0 / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.9668, allocations: 49.06 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.9668, allocations: 3.938 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.9669, allocations: 4 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.9669, allocations: 0 / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.9669, allocations: 14.48 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.9674, allocations: 286 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.099e-05/0.9675, allocations: 34.02 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.9675, allocations: 12.67 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.9675, allocations: 0 / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.756e-05/0.9676, allocations: 52.27 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.9676, allocations: 0 / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001562/0.9678, allocations: 48.81 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.9678, allocations: 67.3 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.9679, allocations: 100.7 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.968, allocations: 29.7 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.968, allocations: 87.94 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.968, allocations: 3.906 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.968, allocations: 0 / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9682, allocations: 322.5 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.9682, allocations: 4 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.9682, allocations: 20.97 kB / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.9682, allocations: 6.594 kB / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9682, allocations: 0 / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.786e-05/0.9683, allocations: 60.94 kB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9683, allocations: 4 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9684, allocations: 4 kB / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.9684, allocations: 0 / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.625e-05/0.9684, allocations: 3.938 kB / 1.022 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9684, allocations: 4 kB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.9685, allocations: 15.97 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.9685, allocations: 0 / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete 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 7.102e-05/0.9686, allocations: 105 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.9686, allocations: 3.906 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.9686, allocations: 6.875 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9687, allocations: 4 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9687, allocations: 3.984 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.9687, allocations: 0 / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.9688, allocations: 169.1 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.9688, allocations: 0 / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-06/0.9688, allocations: 3.938 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.9688, allocations: 3.984 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.9688, allocations: 0 / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9688, allocations: 0 / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9689, allocations: 7.938 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.269e-05/0.969, allocations: 68.7 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.969, allocations: 81.11 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.969, allocations: 7.312 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.9691, allocations: 7.984 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.9691, allocations: 4 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.9691, allocations: 0 / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.9692, allocations: 86.39 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9692, allocations: 0 / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001716/0.9694, allocations: 8 kB / 1.023 GB, free: 120 kB / 0.6355 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,booRep.y[3],booPul.pulseStart) * Number of discrete 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.0001112/0.9695, allocations: 100.2 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.799e-05/0.9696, allocations: 27.48 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9696, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.9696, allocations: 8 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.9698, allocations: 16.31 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.97, allocations: 72.23 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.9703, allocations: 0.6849 MB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.86e-05/0.9703, allocations: 8 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.9703, allocations: 11.38 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/0.9703, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of Templates: time 0.002277/0.9726, allocations: 468 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches