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.002495/0.002495, allocations: 88.72 kB / 19.44 MB, free: 348 kB / 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.003138/0.003138, allocations: 157.7 kB / 22.75 MB, free: 1.676 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 1.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.295/3.295, allocations: 429.6 MB / 0.673 GB, free: 3.844 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8776 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.114e-05, allocations: 5.531 kB / 0.8776 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004488/0.004519, allocations: 2.155 MB / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003072/0.007591, allocations: 1.432 MB / 0.8811 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.007817, allocations: 7.938 kB / 0.8811 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.008548, allocations: 177 kB / 0.8813 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006651/0.009213, allocations: 183.3 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.009624, allocations: 115.5 kB / 0.8816 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.01012, allocations: 250.9 kB / 0.8818 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.01029, allocations: 28.58 kB / 0.8819 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.0106, allocations: 131.6 kB / 0.882 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.01084, allocations: 79.73 kB / 0.8821 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.01089, allocations: 15.98 kB / 0.8821 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.01107, allocations: 59.91 kB / 0.8821 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.01122, allocations: 91.62 kB / 0.8822 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.01135, allocations: 71.72 kB / 0.8823 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.01199, allocations: 358.6 kB / 0.8826 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.01199, allocations: 0 / 0.8826 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01199, allocations: 0 / 0.8826 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.01201, allocations: 0 / 0.8826 GB, free: 1.312 MB / 0.8386 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.001471/0.01348, allocations: 0.6242 MB / 0.8832 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.01352, allocations: 8.031 kB / 0.8832 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.01368, allocations: 48.66 kB / 0.8833 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.01436, allocations: 302.1 kB / 0.8836 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.01439, allocations: 12.38 kB / 0.8836 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.01441, allocations: 8.359 kB / 0.8836 GB, free: 264 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.01471, allocations: 107.7 kB / 0.8837 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01472, allocations: 0 / 0.8837 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.01474, allocations: 0 / 0.8837 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.01475, allocations: 0 / 0.8837 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.01489, allocations: 39.92 kB / 0.8837 GB, free: 104 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008718/0.01576, allocations: 388.3 kB / 0.8841 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.01599, allocations: 62.67 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.01607, allocations: 32.84 kB / 0.8842 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.01609, allocations: 0 / 0.8842 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.01633, allocations: 113 kB / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.01633, allocations: 0 / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.00045/0.01678, allocations: 149.4 kB / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.01683, allocations: 51.41 kB / 0.8845 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007778/0.01761, allocations: 0.5457 MB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.01763, allocations: 25.7 kB / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.01785, allocations: 220 kB / 0.8853 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.01789, allocations: 31.73 kB / 0.8853 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.01798, allocations: 45.66 kB / 0.8853 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.0182, allocations: 362.7 kB / 0.8857 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.01833, allocations: 47.98 kB / 0.8857 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.01851, allocations: 104.5 kB / 0.8858 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.0187, allocations: 88.92 kB / 0.8859 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.01871, allocations: 4 kB / 0.8859 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004136/0.01912, allocations: 209.2 kB / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01914, allocations: 8.062 kB / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01915, allocations: 0 / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.01917, allocations: 4 kB / 0.8861 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.0193, allocations: 23.92 kB / 0.8862 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.01931, allocations: 4 kB / 0.8862 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.01947, allocations: 15.94 kB / 0.8862 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.0195, allocations: 4 kB / 0.8862 GB, free: 13.46 MB / 0.8542 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.0002318/0.01973, allocations: 185.7 kB / 0.8864 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.01981, allocations: 43.72 kB / 0.8864 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.02015, allocations: 149.6 kB / 0.8865 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.02015, allocations: 3.938 kB / 0.8865 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.02015, allocations: 0 / 0.8865 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.02016, allocations: 0 / 0.8865 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.02049, allocations: 237.1 kB / 0.8868 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02049, allocations: 0 / 0.8868 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.02052, allocations: 4 kB / 0.8868 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.02053, allocations: 4 kB / 0.8868 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.02054, allocations: 3.984 kB / 0.8868 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.02054, allocations: 0 / 0.8868 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.02055, allocations: 3.984 kB / 0.8868 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.02087, allocations: 172.7 kB / 0.8869 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.02095, allocations: 39.72 kB / 0.887 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.021, allocations: 11.92 kB / 0.887 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-05/0.02109, allocations: 4 kB / 0.887 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.02116, allocations: 15.97 kB / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.02117, allocations: 0 / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005229/0.02169, allocations: 366.8 kB / 0.8874 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02169, allocations: 0 / 0.8874 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000309/0.022, allocations: 47.92 kB / 0.8874 GB, free: 12.14 MB / 0.8542 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.002146/0.02415, allocations: 460 kB / 0.8879 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.02447, allocations: 95.89 kB / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.02447, allocations: 0 / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.659e-05/0.02457, allocations: 24 kB / 0.888 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.025, allocations: 66.28 kB / 0.888 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.02628, allocations: 0.6509 MB / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.02659, allocations: 216.4 kB / 0.8889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.0267, allocations: 21.64 kB / 0.8889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.02678, allocations: 24.48 kB / 0.8889 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.02678, allocations: 0 / 0.8889 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of Templates: time 0.009226/0.03601, allocations: 3.06 MB / 0.8919 GB, free: 7.727 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 800] 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: 8.953296641935594]