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.00208/0.00208, allocations: 106 kB / 16.45 MB, free: 6.453 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.001618/0.001618, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.596/1.596, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.558/3.558, allocations: 0.4899 GB / 0.7915 GB, free: 33.4 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.002118/0.002118, allocations: 66.3 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4531, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001867/0.455, allocations: 0.6207 MB / 1.322 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.4566, allocations: 1.151 MB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.4567, allocations: 0 / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.832e-05/0.4568, allocations: 3.938 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.421e-05/0.4568, allocations: 3.984 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.4573, allocations: 127 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.4575, allocations: 99.75 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.4576, allocations: 15.88 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.4576, allocations: 31.97 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.4578, allocations: 39.88 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.4578, allocations: 8 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.4579, allocations: 16 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.4579, allocations: 11.98 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.458, allocations: 31.86 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.4582, allocations: 87.77 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4582, allocations: 0 / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4582, allocations: 0 / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4582, allocations: 0 / 1.323 GB, free: 0.6133 MB / 1.014 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.0005565/0.4587, allocations: 386.6 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4588, allocations: 11.98 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.4588, allocations: 8.891 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.4591, allocations: 192.3 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.4591, allocations: 4.375 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.4591, allocations: 4.375 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.4592, allocations: 42.25 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.4592, allocations: 192 / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4592, allocations: 7.938 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4592, allocations: 4 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.4593, allocations: 11.98 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.4597, allocations: 316.7 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.541e-05/0.4597, allocations: 14.58 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.4598, allocations: 12.92 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-06/0.4598, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.4599, allocations: 71.27 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4599, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001814/0.4601, allocations: 53.69 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4602, allocations: 51.41 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.4603, allocations: 113.8 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.4603, allocations: 29.7 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.4603, allocations: 92.12 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.4604, allocations: 7.953 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.4604, allocations: 29.7 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4606, allocations: 314.8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.4607, allocations: 31.98 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.4607, allocations: 50.48 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.4609, allocations: 84.27 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4609, allocations: 4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002729/0.4611, allocations: 143.3 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.4612, allocations: 35.67 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4612, allocations: 4 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4612, allocations: 0 / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-05/0.4612, allocations: 7.922 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4612, allocations: 4 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4614, allocations: 35.95 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.4615, allocations: 4 kB / 1.326 GB, free: 14.21 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.0001105/0.4616, allocations: 117.8 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.4616, allocations: 4 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.4616, allocations: 11.89 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4616, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4616, allocations: 320 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4616, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.4618, allocations: 165.6 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4618, allocations: 4 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-06/0.4618, allocations: 3.984 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.4618, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.4618, allocations: 4 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4618, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4618, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.4619, allocations: 81 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.4619, allocations: 89.28 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.462, allocations: 7.984 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.355e-05/0.462, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.462, allocations: 3.984 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.462, allocations: 8 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.4621, allocations: 79.28 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4621, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002255/0.4623, allocations: 19.98 kB / 1.326 GB, free: 13.51 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.0001776/0.4625, allocations: 111.2 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.4627, allocations: 115.2 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4627, allocations: 0 / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.4627, allocations: 11.98 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.4629, allocations: 4 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.4632, allocations: 137.8 kB / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4636, allocations: 0.6846 MB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.4636, allocations: 4.188 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.4636, allocations: 11.44 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4636, allocations: 3.938 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Templates: time 0.003873/0.4675, allocations: 1.046 MB / 1.328 GB, free: 11.33 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.837636960670352]