Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001563, allocations: 110.7 kB / 16.37 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 192.8 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.571/2.571, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.55 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3318, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.004681/0.3366, allocations: 3.046 MB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.3398, allocations: 1.763 MB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.3402, allocations: 11.94 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.3414, allocations: 302.9 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.3419, allocations: 190.9 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3429, allocations: 386.5 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007693/0.3437, allocations: 0.7767 MB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.3443, allocations: 475.6 kB / 1.034 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.3446, allocations: 275 kB / 1.034 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.3449, allocations: 290.6 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.345, allocations: 56 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.3452, allocations: 108 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.3455, allocations: 199.3 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.3457, allocations: 334 kB / 1.035 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008743/0.3466, allocations: 0.8017 MB / 1.036 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.3466, allocations: 8 kB / 1.036 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3466, allocations: 0 / 1.036 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.3467, allocations: 0 / 1.036 GB, free: 9.039 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001563/0.3482, allocations: 1.042 MB / 1.037 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3483, allocations: 8.031 kB / 1.037 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.3484, allocations: 91.84 kB / 1.037 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.3491, allocations: 0.493 MB / 1.037 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-05/0.3492, allocations: 78.64 kB / 1.037 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.3493, allocations: 55.98 kB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.3503, allocations: 0.6254 MB / 1.038 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3503, allocations: 3.938 kB / 1.038 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.3504, allocations: 24 kB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.3504, allocations: 12 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.3511, allocations: 375.6 kB / 1.038 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.354, allocations: 2.655 MB / 1.041 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.3546, allocations: 360.8 kB / 1.041 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.3549, allocations: 169.7 kB / 1.041 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.3549, allocations: 16.22 kB / 1.041 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.3554, allocations: 285.1 kB / 1.042 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.3554, allocations: 0 / 1.042 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.0009559/0.3564, allocations: 0.4884 MB / 1.042 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.3565, allocations: 225.5 kB / 1.042 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.3572, allocations: 0.6008 MB / 1.043 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.3573, allocations: 61.69 kB / 1.043 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.3576, allocations: 340.6 kB / 1.043 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3577, allocations: 106.6 kB / 1.043 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.3579, allocations: 150.3 kB / 1.044 GB, free: 356 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002165/0.3582, allocations: 382.8 kB / 1.044 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.3584, allocations: 137.2 kB / 1.044 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.3589, allocations: 338.9 kB / 1.044 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.3595, allocations: 425 kB / 1.045 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3595, allocations: 0 / 1.045 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008488/0.3604, allocations: 0.5377 MB / 1.045 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.3604, allocations: 8 kB / 1.045 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3605, allocations: 8 kB / 1.045 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.3605, allocations: 12.72 kB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3608, allocations: 79.77 kB / 1.045 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.3608, allocations: 16 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.3611, allocations: 63.3 kB / 1.045 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.3611, allocations: 32 kB / 1.046 GB, free: 14.16 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,transition3.t_start,$PRE.transition3.t_start,transition4.t_start,$PRE.transition4.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,warUpCtr.timer.entryTime,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.passed,$PRE.warUpCtr.timer.passed,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.outPort.occupied,transition3.enableFire,transition2.enableFire,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003606/0.3615, allocations: 273.5 kB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.3616, allocations: 63.25 kB / 1.046 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/0.3623, allocations: 400 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3623, allocations: 7.938 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3623, allocations: 7.984 kB / 1.046 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3624, allocations: 136.2 kB / 1.046 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.846e-05/0.3625, allocations: 19.88 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3627, allocations: 15.98 kB / 1.046 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.3628, allocations: 51.92 kB / 1.046 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009004/0.3637, allocations: 0.8563 MB / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009031/0.3646, allocations: 0.9517 MB / 1.048 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000287/0.3649, allocations: 184.5 kB / 1.048 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004487/0.3654, allocations: 398.8 kB / 1.049 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of Backend: time 5.01e-07/0.3654, allocations: 0 / 1.049 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002366/0.3678, allocations: 0.6739 MB / 1.049 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of SimCode: time 0.002064/0.3699, allocations: 1.518 MB / 1.051 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of Templates: time 0.01199/0.3819, allocations: 5.955 MB / 1.057 GB, free: 2.766 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches