Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007588/0.007588, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001543/0.001543, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.91 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9906/0.9918, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004333/0.9962, allocations: 2.179 MB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.9986, allocations: 1.368 MB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.9987, allocations: 9.531 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.9995, allocations: 198.2 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.9999, allocations: 123.8 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/1, allocations: 143.1 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/1.001, allocations: 228.9 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/1.001, allocations: 43.64 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/1.001, allocations: 105.9 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/1.001, allocations: 92.14 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/1.001, allocations: 11.41 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/1.002, allocations: 55.16 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/1.002, allocations: 91.52 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/1.002, allocations: 140.4 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005866/1.003, allocations: 354.6 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.003, allocations: 0 / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/1.003, allocations: 0.7969 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.003, allocations: 0.9375 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001008/1.004, allocations: 0.6738 MB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.004, allocations: 9.844 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/1.004, allocations: 44.62 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/1.004, allocations: 360.6 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/1.004, allocations: 3.156 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/1.004, allocations: 8.797 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/1.004, allocations: 87.23 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.004, allocations: 0.625 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/1.005, allocations: 4.609 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.005, allocations: 1.562 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/1.005, allocations: 36.2 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/1.005, allocations: 460 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/1.006, allocations: 69.64 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/1.006, allocations: 22.92 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/1.006, allocations: 4.781 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/1.006, allocations: 79.67 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/1.006, allocations: 1.125 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.000361/1.006, allocations: 147.6 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/1.006, allocations: 56.41 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/1.007, allocations: 0.5249 MB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/1.007, allocations: 32.17 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.007, allocations: 217.7 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/1.007, allocations: 21.22 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/1.007, allocations: 40.73 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.008, allocations: 358.3 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/1.008, allocations: 49.56 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/1.008, allocations: 77.42 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/1.008, allocations: 94.72 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.008, allocations: 1.188 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003729/1.008, allocations: 188.2 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.008, allocations: 9.953 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.008, allocations: 0 / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.009, allocations: 1.578 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/1.009, allocations: 29.77 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.009, allocations: 1.828 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/1.009, allocations: 17.61 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/1.009, allocations: 16.31 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002073/1.009, allocations: 182.8 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/1.009, allocations: 43.23 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.208e-05/1.009, allocations: 45.16 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.009, allocations: 4.906 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.009, allocations: 2.078 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.009, allocations: 0 / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/1.01, allocations: 296.1 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.01, allocations: 0.5625 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/1.01, allocations: 8.109 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.01, allocations: 0.7812 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.01, allocations: 1.297 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/1.01, allocations: 5.25 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.01, allocations: 1.281 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/1.01, allocations: 148.3 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/1.01, allocations: 119 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/1.01, allocations: 2.094 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/1.01, allocations: 17.8 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/1.01, allocations: 8.734 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/1.01, allocations: 3.734 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005161/1.011, allocations: 363.8 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/1.011, allocations: 0 / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003041/1.011, allocations: 45.27 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001084/1.012, allocations: 427.8 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003035/1.013, allocations: 93.25 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.013, allocations: 1.125 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.309e-05/1.013, allocations: 29.72 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/1.013, allocations: 60.52 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/1.014, allocations: 0.6291 MB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/1.015, allocations: 0.8157 MB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001061/1.015, allocations: 21.36 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/1.015, allocations: 23.84 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of SimCode: time 6.31e-07/1.015, allocations: 0.8438 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of Templates: time 0.009693/1.025, allocations: 2.876 MB / 1.103 GB, free: 13.19 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches