Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 197.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.887/2.887, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9657/0.9677, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002018/0.9697, allocations: 0.6186 MB / 1.275 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.9714, allocations: 1.123 MB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.9715, allocations: 4 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.9716, allocations: 0 / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.9716, allocations: 7.938 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.9722, allocations: 127.1 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.9724, allocations: 87.88 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.9725, allocations: 11.64 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.9725, allocations: 43.86 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.9727, allocations: 35.88 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.9727, allocations: 8 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.9728, allocations: 19.98 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.9728, allocations: 7.984 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.9729, allocations: 31.92 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.9731, allocations: 87.72 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9731, allocations: 0 / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9731, allocations: 4 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9731, allocations: 0 / 1.276 GB, free: 2.199 MB / 0.9669 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.0005898/0.9737, allocations: 392 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.9737, allocations: 8.031 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.9738, allocations: 4.938 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.974, allocations: 180.4 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.974, allocations: 384 / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.974, allocations: 16.3 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.9741, allocations: 46.25 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.9741, allocations: 4.172 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.9742, allocations: 3.938 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9742, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.9742, allocations: 16 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.9747, allocations: 308.7 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.103e-05/0.9747, allocations: 24.11 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.9747, allocations: 8.922 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.9747, allocations: 0 / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.9749, allocations: 63.39 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.9749, allocations: 3.938 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002029/0.9751, allocations: 65.58 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.9752, allocations: 51.41 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.9753, allocations: 109.8 kB / 1.277 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.9754, allocations: 29.7 kB / 1.277 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.9754, allocations: 92.09 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-06/0.9755, allocations: 0 / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.9755, allocations: 37.69 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.9757, allocations: 322.7 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.9758, allocations: 27.98 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.9759, allocations: 46.56 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.976, allocations: 80.2 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.976, allocations: 4 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002995/0.9763, allocations: 147.2 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.9764, allocations: 37.69 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9764, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.9764, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-05/0.9764, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.9764, allocations: 3.984 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.9766, allocations: 27.97 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.9767, allocations: 16.08 kB / 1.278 GB, free: 15.8 MB / 0.9825 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.0001157/0.9768, allocations: 123.2 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.9768, allocations: 0 / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.9768, allocations: 7.906 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.9768, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9768, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.9768, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.977, allocations: 169.6 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.977, allocations: 0 / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.977, allocations: 0 / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.977, allocations: 4 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.977, allocations: 4.312 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.977, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.977, allocations: 4.234 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.9771, allocations: 88.98 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.9772, allocations: 77.11 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.9772, allocations: 8 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.357e-05/0.9772, allocations: 3.938 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.9772, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.9773, allocations: 7.984 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.9773, allocations: 79.28 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9773, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002321/0.9775, allocations: 23.94 kB / 1.279 GB, free: 15.11 MB / 0.9825 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.0002079/0.9777, allocations: 111.6 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.978, allocations: 107.3 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.978, allocations: 4.188 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.978, allocations: 11.94 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.9782, allocations: 13.7 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.9786, allocations: 134 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.979, allocations: 0.6768 MB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.832e-05/0.979, allocations: 4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.979, allocations: 11.44 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.979, allocations: 4 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of Templates: time 0.004171/0.9832, allocations: 1.059 MB / 1.281 GB, free: 12.91 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.239856187719852]