Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 15.94 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.859, allocations: 153.6 MB / 1.021 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0008774/0.8599, allocations: 348.5 kB / 1.021 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.8613, allocations: 1.078 MB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.8614, allocations: 4 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.328e-05/0.8615, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.458e-05/0.8615, allocations: 11.92 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.862, allocations: 106.6 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.211e-05/0.8621, allocations: 43.94 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.203e-05/0.8622, allocations: 7.938 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.8622, allocations: 31.97 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.8623, allocations: 27.89 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.8623, allocations: 4 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.8624, allocations: 12 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.8624, allocations: 7.984 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.8625, allocations: 37.7 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.8626, allocations: 59.86 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.8626, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8626, allocations: 3.938 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.8627, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 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.000411/0.8631, allocations: 382.8 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.8631, allocations: 11.98 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.8632, allocations: 7.906 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.8634, allocations: 179 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.8634, allocations: 4 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.8635, allocations: 8 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.8636, allocations: 49.64 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8636, allocations: 3.984 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.8636, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8636, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.8637, allocations: 19.98 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.8641, allocations: 300.8 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.537e-05/0.8641, allocations: 26.58 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.8641, allocations: 0 / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.8643, allocations: 55.39 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.8643, allocations: 0 / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001874/0.8645, allocations: 65.59 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.8646, allocations: 51.41 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.8647, allocations: 113.8 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.8647, allocations: 25.7 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.8648, allocations: 92.03 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.8648, allocations: 11.98 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.8648, allocations: 0 / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8649, allocations: 314.8 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.865, allocations: 31.98 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.865, allocations: 46.5 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.8651, allocations: 61.69 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8651, allocations: 0 / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002198/0.8654, allocations: 147.2 kB / 1.024 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.543e-05/0.8654, allocations: 37.69 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8654, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.8654, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.705e-05/0.8655, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.8655, allocations: 4 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.8657, allocations: 40 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.8658, allocations: 15.92 kB / 1.025 GB, free: 13.05 MB / 0.7794 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.073e-05/0.8659, allocations: 117.8 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.8659, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.8659, allocations: 11.91 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.8659, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.8659, allocations: 7.938 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.8659, allocations: 3.938 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.8661, allocations: 165.6 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8661, allocations: 0 / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-06/0.8661, allocations: 0 / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8661, allocations: 0 / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8661, allocations: 0 / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8661, allocations: 0 / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8661, allocations: 3.984 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.932e-05/0.8662, allocations: 85.27 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.8663, allocations: 85.09 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.8663, allocations: 320 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.354e-05/0.8663, allocations: 0 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.8663, allocations: 15.98 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.8664, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.8664, allocations: 79.28 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8664, allocations: 4 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002088/0.8666, allocations: 20 kB / 1.025 GB, free: 12.36 MB / 0.7794 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.0001533/0.8668, allocations: 107.2 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.867, allocations: 115.4 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.867, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.8671, allocations: 15.94 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.8672, allocations: 9.891 kB / 1.025 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.8675, allocations: 138.6 kB / 1.025 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.8678, allocations: 0.6848 MB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.839e-05/0.8678, allocations: 4 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.8679, allocations: 7.438 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8679, allocations: 0 / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.003264/0.8711, allocations: 0.9716 MB / 1.027 GB, free: 10.26 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches