Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.0007974/0.0007974, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000764/0.000764, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8625/0.8625, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.741/1.741, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.346e-05, allocations: 4.531 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002745/0.002769, allocations: 2.151 MB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.004634, allocations: 1.428 MB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.004762, allocations: 7.938 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.005269, allocations: 187.4 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.005629, allocations: 175.2 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.005878, allocations: 119.5 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.006162, allocations: 246.9 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.006305, allocations: 40.5 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.006484, allocations: 127.6 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.006625, allocations: 83.72 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.006652, allocations: 12 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.006816, allocations: 55.98 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.00693, allocations: 95.61 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.007031, allocations: 67.67 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.007481, allocations: 358.6 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.007486, allocations: 3.938 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.605e-06/0.007489, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.007496, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 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.0008757/0.008372, allocations: 0.6126 MB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.008413, allocations: 8.75 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.008448, allocations: 34.75 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.008509, allocations: 48.66 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.008849, allocations: 306.1 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.008868, allocations: 16.23 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.008881, allocations: 4.375 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.009044, allocations: 103.5 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.009051, allocations: 0 / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.009061, allocations: 0 / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.009066, allocations: 4 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.00914, allocations: 39.97 kB / 1.006 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.009666, allocations: 419.7 kB / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.009802, allocations: 62.67 kB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.009845, allocations: 28.84 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.009862, allocations: 0 / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.01002, allocations: 113 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.01002, allocations: 0 / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002768/0.01029, allocations: 153.3 kB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.01033, allocations: 51.41 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.01076, allocations: 0.5457 MB / 1.007 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.01079, allocations: 33.7 kB / 1.007 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.01093, allocations: 220 kB / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.01095, allocations: 15.89 kB / 1.007 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.01101, allocations: 45.59 kB / 1.007 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.01114, allocations: 362.9 kB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.01123, allocations: 51.92 kB / 1.008 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.01132, allocations: 106.2 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.01144, allocations: 91.94 kB / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01144, allocations: 4.031 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002102/0.01165, allocations: 205.2 kB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01167, allocations: 4 kB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01167, allocations: 0 / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.01169, allocations: 0 / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.01178, allocations: 23.98 kB / 1.008 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01179, allocations: 0 / 1.008 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.01186, allocations: 23.88 kB / 1.008 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.01188, allocations: 4 kB / 1.008 GB, free: 4.41 MB / 0.9636 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.0001429/0.01202, allocations: 189.8 kB / 1.008 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.01205, allocations: 39.72 kB / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.01226, allocations: 137.6 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.01227, allocations: 3.984 kB / 1.009 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.01227, allocations: 4 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01228, allocations: 3.938 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.01262, allocations: 260.6 kB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01262, allocations: 0 / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.01264, allocations: 11.92 kB / 1.009 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01264, allocations: 4 kB / 1.009 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.01265, allocations: 8 kB / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01266, allocations: 0 / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01266, allocations: 256 / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.0128, allocations: 156.7 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.01284, allocations: 51.69 kB / 1.009 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.01286, allocations: 4 kB / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.0129, allocations: 4 kB / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.01294, allocations: 15.97 kB / 1.009 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01295, allocations: 7.938 kB / 1.009 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002566/0.01321, allocations: 366.8 kB / 1.009 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01321, allocations: 4 kB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001968/0.01341, allocations: 51.92 kB / 1.01 GB, free: 3.035 MB / 0.9636 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001188/0.0146, allocations: 1.037 MB / 1.011 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.01491, allocations: 95.89 kB / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01492, allocations: 0 / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.01497, allocations: 27.98 kB / 1.011 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.01529, allocations: 72.42 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.01809, allocations: 3.099 MB / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.01826, allocations: 212.4 kB / 1.014 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.11e-05/0.01833, allocations: 33.7 kB / 1.014 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.01845, allocations: 124.5 kB / 1.014 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of SimCode: time 1.112e-06/0.01845, allocations: 0 / 1.014 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.03999, allocations: 8.287 MB / 1.022 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/6.96, allocations: 2.438 kB / 1.022 GB, free: 6.207 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.966876453720033]