Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.00174/0.00174, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002176/0.002176, allocations: 212.2 kB / 23 MB, free: 4.977 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.624/1.624, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.455/3.455, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") [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.002061/0.002061, allocations: 64.95 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4918, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005729/0.4975, allocations: 2.928 MB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.5015, allocations: 1.864 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/0.5019, allocations: 15.88 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.5034, allocations: 441.3 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009187/0.5043, allocations: 314.5 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.5056, allocations: 426.6 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.5067, allocations: 0.8381 MB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/0.5074, allocations: 416.5 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.5078, allocations: 314.9 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.5082, allocations: 334.5 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.5083, allocations: 56 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.5087, allocations: 131.9 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.5089, allocations: 223.2 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.5092, allocations: 278.2 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.5104, allocations: 0.8905 MB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5104, allocations: 0 / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.305e-06/0.5104, allocations: 0 / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.5104, allocations: 0 / 1.336 GB, free: 7.523 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002062/0.5125, allocations: 1.106 MB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.5125, allocations: 8.031 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/0.513, allocations: 120.3 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/0.5139, allocations: 482.3 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.514, allocations: 130.6 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.5141, allocations: 55.94 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000996/0.5151, allocations: 0.5291 MB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5151, allocations: 3.938 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.5152, allocations: 20 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.5152, allocations: 12 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.5159, allocations: 347.7 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.5184, allocations: 1.691 MB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.5191, allocations: 323.6 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.5194, allocations: 155.9 kB / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.5195, allocations: 11.94 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000558/0.52, allocations: 267.2 kB / 1.341 GB, free: 2.035 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.715e-06/0.52, allocations: 0 / 1.341 GB, free: 2.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001199/0.5212, allocations: 0.5002 MB / 1.342 GB, free: 1.527 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.5214, allocations: 144.5 kB / 1.342 GB, free: 1.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.5224, allocations: 0.7659 MB / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.5225, allocations: 49.69 kB / 1.343 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.5229, allocations: 385.6 kB / 1.343 GB, free: 148 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.523, allocations: 127 kB / 1.343 GB, free: 20 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.5233, allocations: 134.2 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.5235, allocations: 330 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.5238, allocations: 149.2 kB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.5242, allocations: 357.8 kB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.5249, allocations: 393.2 kB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.5249, allocations: 11.88 kB / 1.345 GB, free: 14.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009603/0.5259, allocations: 0.523 MB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.5259, allocations: 8 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.5259, allocations: 4 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.5259, allocations: 8 kB / 1.345 GB, free: 13.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.5262, allocations: 71.78 kB / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.5262, allocations: 11.98 kB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.5265, allocations: 59.61 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.5266, allocations: 20 kB / 1.345 GB, free: 13.81 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition4.t_start,$PRE.transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.outPort[1].reset,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0003943/0.527, allocations: 290.2 kB / 1.346 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5271, allocations: 79.47 kB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/0.5279, allocations: 404.6 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.5279, allocations: 3.984 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5279, allocations: 0 / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.528, allocations: 71.45 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.5281, allocations: 12 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.5283, allocations: 19.98 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.5285, allocations: 59.86 kB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009894/0.5294, allocations: 0.6746 MB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009502/0.5304, allocations: 0.8117 MB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003149/0.5307, allocations: 151.8 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006962/0.5314, allocations: 0.5108 MB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of Backend: time 6.31e-07/0.5314, allocations: 4 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003027/0.5344, allocations: 0.691 MB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of SimCode: time 0.002702/0.5371, allocations: 1.668 MB / 1.351 GB, free: 8.465 MB / 1.045 GB Notification: Performance of Templates: time 0.01787/0.555, allocations: 7.869 MB / 1.358 GB, free: 0.7227 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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: 10.39247065300151]