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.512/1.512, allocations: 249.5 MB / 257 MB, free: 6.895 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.001449/0.001449, allocations: 176.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.00086/0.0008599, allocations: 96.19 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.037e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2536, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8254/1.079, allocations: 131.6 MB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.079, allocations: 72.95 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001892/1.081, allocations: 0.6741 MB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/1.081, allocations: 0 / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.081, allocations: 4 kB / 1.015 GB, free: 5.488 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.0003913/1.082, allocations: 332.9 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.082, allocations: 8.031 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/1.082, allocations: 6.812 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/1.082, allocations: 182.9 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/1.082, allocations: 0 / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/1.082, allocations: 4 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.472e-05/1.082, allocations: 14.25 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/1.082, allocations: 43.69 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.082, allocations: 0 / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.082, allocations: 0 / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.082, allocations: 2.734 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/1.083, allocations: 259.4 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.914e-05/1.083, allocations: 25.83 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/1.083, allocations: 12.17 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/1.083, allocations: 3.984 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/1.083, allocations: 54.41 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.083, allocations: 3.938 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000166/1.083, allocations: 41.27 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.083, allocations: 55.39 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.083, allocations: 100.5 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/1.083, allocations: 25.7 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/1.084, allocations: 87.62 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/1.084, allocations: 7.906 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.084, allocations: 4 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.084, allocations: 322.2 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/1.084, allocations: 4 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/1.084, allocations: 18.09 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.009e-05/1.084, allocations: 4 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.084, allocations: 0 / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.374e-05/1.084, allocations: 49.38 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.084, allocations: 12.03 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.084, allocations: 0 / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.084, allocations: 0 / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/1.084, allocations: 11.81 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/1.084, allocations: 3.938 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/1.084, allocations: 7.125 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/1.084, allocations: 0 / 1.016 GB, free: 3.676 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.558e-05/1.084, allocations: 108.9 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/1.084, allocations: 3.906 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/1.084, allocations: 16.11 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/1.084, allocations: 3.938 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.084, allocations: 0 / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/1.084, allocations: 0 / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/1.084, allocations: 148.5 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.084, allocations: 0 / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-06/1.084, allocations: 192 / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/1.084, allocations: 0 / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/1.084, allocations: 3.984 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/1.084, allocations: 0 / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.084, allocations: 7.984 kB / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.008e-05/1.084, allocations: 74.58 kB / 1.016 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/1.085, allocations: 77.11 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/1.085, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/1.085, allocations: 11.98 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/1.085, allocations: 0 / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/1.085, allocations: 0 / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.043e-05/1.085, allocations: 86.59 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.085, allocations: 4 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001696/1.085, allocations: 4 kB / 1.017 GB, free: 3.066 MB / 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.0001403/1.085, allocations: 103.2 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.327e-05/1.085, allocations: 16.56 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.085, allocations: 0 / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.97e-05/1.085, allocations: 11.69 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/1.085, allocations: 16 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/1.086, allocations: 70.56 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/1.086, allocations: 0.6807 MB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.092e-05/1.086, allocations: 7.984 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/1.086, allocations: 15.38 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.086, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of Templates: time 0.002283/1.088, allocations: 435.9 kB / 1.018 GB, free: 1.695 MB / 0.6355 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