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.497/1.497, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 185.2 kB / 326.5 MB, free: 2.25 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.967/1.967, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.00104/0.00104, allocations: 88.86 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 6.031 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2805, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.4828, allocations: 131.4 MB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4831, allocations: 75.94 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001888/0.485, allocations: 0.6727 MB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/0.485, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.485, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6823 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.0004413/0.4855, allocations: 351.5 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4855, allocations: 12.03 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.4856, allocations: 3.906 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.4858, allocations: 175 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.4858, allocations: 8 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.4858, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.4859, allocations: 53.62 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4859, allocations: 0 / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.486, allocations: 4 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.486, allocations: 0 / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.486, allocations: 12 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.4865, allocations: 284.9 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.973e-05/0.4866, allocations: 26.52 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.4866, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.905e-05/0.4867, allocations: 55.45 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.4867, allocations: 7.922 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001728/0.4869, allocations: 65.53 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.487, allocations: 55.36 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.4871, allocations: 101 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4871, allocations: 29.7 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.4871, allocations: 80.14 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.4871, allocations: 7.906 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.4872, allocations: 4 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4873, allocations: 310.8 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.4873, allocations: 11.98 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.4874, allocations: 17.72 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.4874, allocations: 8 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4874, allocations: 0 / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.754e-05/0.4875, allocations: 53.62 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4875, allocations: 7.938 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4875, allocations: 0 / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4875, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.4876, allocations: 4.031 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4876, allocations: 7.969 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.643e-05/0.4877, allocations: 15.86 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.4877, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 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 () * Number of clocked 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 9.945e-05/0.4878, allocations: 113.8 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-06/0.4878, allocations: 0 / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.4878, allocations: 15.48 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4878, allocations: 3.938 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4879, allocations: 4 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4879, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.4881, allocations: 169.6 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4881, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.4881, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.4881, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4881, allocations: 4 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4881, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4881, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.878e-05/0.4882, allocations: 81.08 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.4883, allocations: 81.02 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.4883, allocations: 256 / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.175e-05/0.4883, allocations: 11.98 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.4884, allocations: 11.92 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.4884, allocations: 0 / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.4885, allocations: 83.28 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4885, allocations: 3.938 kB / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001741/0.4886, allocations: 12 kB / 1.031 GB, free: 8.961 MB / 0.6823 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 () * 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.0001361/0.4888, allocations: 99.25 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.904e-05/0.4889, allocations: 20.36 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4889, allocations: 0 / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.4889, allocations: 8 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.4891, allocations: 17.44 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.4895, allocations: 146.7 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.4898, allocations: 0.6848 MB / 1.032 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.4899, allocations: 7.984 kB / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.4899, allocations: 7.438 kB / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of SimCode: time 3.5e-07/0.4899, allocations: 0 / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of Templates: time 0.002544/0.4925, allocations: 452.7 kB / 1.033 GB, free: 7.477 MB / 0.6823 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