Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 211.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.303/3.303, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4573, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002077/0.4594, allocations: 0.6245 MB / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.4611, allocations: 1.124 MB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.4611, allocations: 3.938 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.4612, allocations: 3.984 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.257e-05/0.4613, allocations: 7.938 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.4618, allocations: 130.4 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.462, allocations: 87.72 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.4621, allocations: 4 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.4622, allocations: 35.97 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.4623, allocations: 31.89 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.4623, allocations: 8 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.4624, allocations: 23.92 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.4625, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.4626, allocations: 35.91 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.4627, allocations: 83.78 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4627, allocations: 7.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4627, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4627, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 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.0005115/0.4633, allocations: 307.9 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4633, allocations: 8.031 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.4633, allocations: 8.891 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.4636, allocations: 126.5 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.4636, allocations: 384 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.4636, allocations: 12.38 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4637, allocations: 46.19 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4637, allocations: 192 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4637, allocations: 7.938 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4638, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.4638, allocations: 15.98 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.4641, allocations: 228.6 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.609e-05/0.4642, allocations: 26.45 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.4642, allocations: 12.91 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-06/0.4642, allocations: 3.938 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.4644, allocations: 55.41 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4644, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000208/0.4646, allocations: 73.59 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.4646, allocations: 51.41 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.4647, allocations: 113.8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.4647, allocations: 29.7 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.4648, allocations: 88.09 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.4648, allocations: 3.953 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.4649, allocations: 33.7 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.465, allocations: 318.8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.4651, allocations: 57.69 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4652, allocations: 80.25 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.4653, allocations: 92.14 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4653, allocations: 3.938 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002747/0.4656, allocations: 169 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.4657, allocations: 41.69 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4657, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4657, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.634e-05/0.4657, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4657, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.4659, allocations: 35.95 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4659, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.466, allocations: 126.3 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.4661, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.4661, allocations: 8 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4661, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4661, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4661, allocations: 3.938 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.4662, allocations: 117.2 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4662, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-06/0.4662, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4662, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4662, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4662, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4662, allocations: 3.984 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.4663, allocations: 81.06 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.4663, allocations: 7.953 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.4664, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.4664, allocations: 4.312 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.4664, allocations: 3.984 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.4664, allocations: 8 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.4665, allocations: 87.22 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4665, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002214/0.4667, allocations: 20 kB / 1.33 GB, free: 12.82 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.4668, allocations: 105.6 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.4671, allocations: 133.1 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4671, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.4671, allocations: 15.92 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.4673, allocations: 20.06 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.4677, allocations: 130.5 kB / 1.33 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.435e-05/0.4678, allocations: 67.33 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.69e-05/0.4678, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.4678, allocations: 7.438 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4678, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Templates: time 0.004358/0.4722, allocations: 1.17 MB / 1.332 GB, free: 11.13 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.615139024332166]