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.0007605/0.0007605, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001766, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006944/0.0006944, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008019/0.001496, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.104, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.869/1.869, allocations: 378.2 MB / 0.6076 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4762/2.346, allocations: 123.3 MB / 0.728 GB, free: 5.871 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.7293 GB, free: 4.594 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.605e-05, allocations: 4.844 kB / 0.7293 GB, free: 4.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001087/0.001103, allocations: 0.674 MB / 0.73 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.00214, allocations: 1.176 MB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.002173, allocations: 0.5 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.002213, allocations: 2.219 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.96e-05/0.002233, allocations: 9.578 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.002482, allocations: 109 kB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.002628, allocations: 90.73 kB / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.858e-05/0.002696, allocations: 9.438 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.002777, allocations: 58.47 kB / 0.7314 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.002865, allocations: 29.58 kB / 0.7314 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.002885, allocations: 8 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.378e-05/0.002958, allocations: 22.88 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.003006, allocations: 8.859 kB / 0.7315 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.003049, allocations: 17.42 kB / 0.7315 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003169, allocations: 62.95 kB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.658e-05/0.003185, allocations: 0 / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003186, allocations: 0.6562 kB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.003202, allocations: 0 / 0.7315 GB, free: 2.359 MB / 0.698 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.0003921/0.003594, allocations: 288.8 kB / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.003624, allocations: 8.031 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.003663, allocations: 16.92 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.003791, allocations: 117.7 kB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.0038, allocations: 1.188 kB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.003813, allocations: 8.375 kB / 0.732 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.09e-05/0.003894, allocations: 44.2 kB / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003901, allocations: 192 / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.003907, allocations: 384 / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.003912, allocations: 0.9375 kB / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.003926, allocations: 8.719 kB / 0.732 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.004097, allocations: 172.2 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.222e-05/0.00413, allocations: 19.67 kB / 0.7322 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-06/0.004137, allocations: 4.859 kB / 0.7322 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-06/0.004141, allocations: 5.531 kB / 0.7322 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.706e-05/0.004228, allocations: 63.39 kB / 0.7323 GB, free: 1.523 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.004229, allocations: 0.6562 kB / 0.7323 GB, free: 1.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001027/0.004332, allocations: 53.61 kB / 0.7323 GB, free: 1.465 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.004363, allocations: 52.28 kB / 0.7324 GB, free: 1.402 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.004421, allocations: 110.7 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.004437, allocations: 26.67 kB / 0.7325 GB, free: 1.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.004473, allocations: 96.08 kB / 0.7326 GB, free: 1.152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.004481, allocations: 8.609 kB / 0.7326 GB, free: 1.145 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.00452, allocations: 26.38 kB / 0.7326 GB, free: 1.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.004589, allocations: 322.8 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.879e-05/0.004627, allocations: 46.81 kB / 0.733 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.004671, allocations: 72.19 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.004723, allocations: 74.31 kB / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004725, allocations: 3.938 kB / 0.7331 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001071/0.004832, allocations: 145.2 kB / 0.7333 GB, free: 412 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.004865, allocations: 47.22 kB / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.00487, allocations: 0 / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.004877, allocations: 0 / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.649e-05/0.004894, allocations: 7.938 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.004896, allocations: 0 / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.005002, allocations: 21.22 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.005014, allocations: 7.984 kB / 0.7333 GB, free: 324 kB / 0.698 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 5.68e-05/0.005071, allocations: 117.6 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.005076, allocations: 4 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.005097, allocations: 12.97 kB / 0.7335 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.005098, allocations: 0 / 0.7335 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.005099, allocations: 0 / 0.7335 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.005103, allocations: 4.672 kB / 0.7335 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.21e-05/0.005155, allocations: 69.89 kB / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005156, allocations: 1.781 kB / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-06/0.005159, allocations: 0 / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.005165, allocations: 4 kB / 0.7335 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.005166, allocations: 0 / 0.7335 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.00517, allocations: 8.766 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.005171, allocations: 0 / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005172, allocations: 320 / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.086e-05/0.005233, allocations: 65.81 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-06/0.005239, allocations: 0 / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-06/0.005248, allocations: 8.75 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.005267, allocations: 11.92 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.005269, allocations: 0.625 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.033e-05/0.00528, allocations: 8.859 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-08/0.00528, allocations: 2.188 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001069/0.005387, allocations: 16 kB / 0.7337 GB, free: 15.94 MB / 0.7136 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 8.649e-05/0.005473, allocations: 84.41 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.005594, allocations: 134.4 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.005599, allocations: 11.44 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.005612, allocations: 8.859 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/0.005713, allocations: 19.91 kB / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.006088, allocations: 120.5 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.006116, allocations: 59.34 kB / 0.7341 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.006132, allocations: 4 kB / 0.7341 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.006192, allocations: 63.36 kB / 0.7341 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of SimCode: time 4.1e-07/0.006192, allocations: 2.75 kB / 0.7341 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.002613/0.008805, allocations: 1.322 MB / 0.7354 GB, free: 14.12 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9332801550626755]