Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 105.4 kB / 16.36 MB, free: 6.309 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.001501/0.001501, allocations: 191.1 kB / 17.3 MB, free: 5.871 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.16 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.512/2.512, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 70.8 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3214, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004577/0.3261, allocations: 2.792 MB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.3287, allocations: 1.681 MB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.329, allocations: 8 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.3302, allocations: 310.9 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.3306, allocations: 187 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.3316, allocations: 378.1 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007358/0.3323, allocations: 0.7223 MB / 1.033 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005481/0.3329, allocations: 479.5 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.3332, allocations: 267 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.3335, allocations: 290.6 kB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.3336, allocations: 52 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.3338, allocations: 112 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.334, allocations: 199.3 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.3342, allocations: 330 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007723/0.335, allocations: 0.79 MB / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.335, allocations: 0 / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3351, allocations: 7.938 kB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.3351, allocations: 0 / 1.035 GB, free: 9.434 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001431/0.3365, allocations: 1.035 MB / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3366, allocations: 8.031 kB / 1.036 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3367, allocations: 87.91 kB / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.3373, allocations: 0.4889 MB / 1.037 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.3373, allocations: 45.69 kB / 1.037 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/0.3374, allocations: 67.92 kB / 1.037 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.3383, allocations: 0.6091 MB / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.3383, allocations: 7.938 kB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.3384, allocations: 20 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.3384, allocations: 19.98 kB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.339, allocations: 379.6 kB / 1.038 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.3414, allocations: 2.568 MB / 1.04 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.342, allocations: 375.9 kB / 1.041 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.3423, allocations: 177.1 kB / 1.041 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.3423, allocations: 11.98 kB / 1.041 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/0.3428, allocations: 289.4 kB / 1.041 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.836e-06/0.3428, allocations: 0 / 1.041 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.0008758/0.3437, allocations: 0.4952 MB / 1.042 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.3438, allocations: 222.2 kB / 1.042 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.3444, allocations: 0.6234 MB / 1.042 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.3444, allocations: 49.69 kB / 1.042 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.3447, allocations: 340.6 kB / 1.043 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.3448, allocations: 114.6 kB / 1.043 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.345, allocations: 150.3 kB / 1.043 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3451, allocations: 378.8 kB / 1.043 GB, free: 476 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.3454, allocations: 141.2 kB / 1.044 GB, free: 332 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.3458, allocations: 339.7 kB / 1.044 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.3463, allocations: 433 kB / 1.044 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3463, allocations: 4 kB / 1.044 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008197/0.3471, allocations: 0.5384 MB / 1.045 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3472, allocations: 11.98 kB / 1.045 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3472, allocations: 12.03 kB / 1.045 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.3472, allocations: 11.94 kB / 1.045 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3475, allocations: 67.84 kB / 1.045 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.3475, allocations: 19.92 kB / 1.045 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.3477, allocations: 59.41 kB / 1.045 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.3478, allocations: 28 kB / 1.045 GB, free: 14.65 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: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition2.t_start,$PRE.transition2.t_start,transition1.t_start,$PRE.transition1.t_start,transition4.t_start,$PRE.transition4.t_start,transition3.t_start,$PRE.transition3.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0003015/0.3481, allocations: 281.5 kB / 1.045 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.3482, allocations: 67.16 kB / 1.045 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.3489, allocations: 408 kB / 1.046 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.3489, allocations: 3.984 kB / 1.046 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3489, allocations: 4 kB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.349, allocations: 140.2 kB / 1.046 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.3491, allocations: 16 kB / 1.046 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3492, allocations: 11.98 kB / 1.046 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3493, allocations: 59.83 kB / 1.046 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000882/0.3502, allocations: 0.8485 MB / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009011/0.3511, allocations: 0.9598 MB / 1.048 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003193/0.3515, allocations: 196.5 kB / 1.048 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000543/0.352, allocations: 398.8 kB / 1.048 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of Backend: time 7.12e-07/0.352, allocations: 0 / 1.048 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003397/0.3555, allocations: 0.6907 MB / 1.049 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of SimCode: time 0.002887/0.3584, allocations: 1.5 MB / 1.05 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of Templates: time 0.01479/0.3732, allocations: 5.946 MB / 1.056 GB, free: 3.242 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches