Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001982/0.001982, allocations: 88.16 kB / 19.44 MB, free: 188 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.002142/0.002142, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.627/1.627, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.454/3.454, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 3.938 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.292e-05/3.488e-05, allocations: 2.844 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004908/0.004943, allocations: 2.48 MB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.006102, allocations: 0.5377 MB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.006215, allocations: 4 kB / 0.8804 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.006647, allocations: 123.7 kB / 0.8805 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.006822, allocations: 88.44 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.006964, allocations: 52.47 kB / 0.8807 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.007304, allocations: 251.5 kB / 0.8809 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.007511, allocations: 75.66 kB / 0.881 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.00773, allocations: 131.7 kB / 0.8811 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.007908, allocations: 72.48 kB / 0.8812 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.007958, allocations: 20.88 kB / 0.8812 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.008009, allocations: 20 kB / 0.8812 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.008143, allocations: 83.69 kB / 0.8813 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.008276, allocations: 92.75 kB / 0.8814 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004759/0.008752, allocations: 326.8 kB / 0.8817 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.008756, allocations: 0 / 0.8817 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008757, allocations: 1.094 kB / 0.8817 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.008765, allocations: 0 / 0.8817 GB, free: 2.332 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001126/0.009891, allocations: 0.7097 MB / 0.8824 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.009935, allocations: 9 kB / 0.8824 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.01004, allocations: 56.66 kB / 0.8825 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.01051, allocations: 251.5 kB / 0.8827 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01054, allocations: 16.36 kB / 0.8827 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.01058, allocations: 12.91 kB / 0.8827 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.01089, allocations: 134.6 kB / 0.8828 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.01091, allocations: 7.562 kB / 0.8829 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.01092, allocations: 4.375 kB / 0.8829 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.01093, allocations: 4.375 kB / 0.8829 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.0112, allocations: 91.89 kB / 0.883 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.01224, allocations: 0.6051 MB / 0.8835 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.01252, allocations: 99.61 kB / 0.8836 GB, free: 240 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.01264, allocations: 51.67 kB / 0.8837 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.01266, allocations: 4.594 kB / 0.8837 GB, free: 180 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.0127, allocations: 34.92 kB / 0.8837 GB, free: 136 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.0127, allocations: 0 / 0.8837 GB, free: 136 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0004259/0.01312, allocations: 145.4 kB / 0.8839 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.01318, allocations: 51.41 kB / 0.8839 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.01401, allocations: 474.6 kB / 0.8844 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.01404, allocations: 29.64 kB / 0.8844 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.01431, allocations: 287 kB / 0.8847 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.01435, allocations: 31.75 kB / 0.8847 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.01442, allocations: 39.36 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004137/0.01484, allocations: 0.5391 MB / 0.8853 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.01492, allocations: 20 kB / 0.8853 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.01506, allocations: 74.72 kB / 0.8854 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.01526, allocations: 107 kB / 0.8855 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01527, allocations: 7.938 kB / 0.8855 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002806/0.01555, allocations: 145.3 kB / 0.8856 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.01556, allocations: 4 kB / 0.8856 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01557, allocations: 0 / 0.8856 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.01559, allocations: 4 kB / 0.8856 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.01572, allocations: 31.92 kB / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01573, allocations: 0 / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.0158, allocations: 11.94 kB / 0.8856 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.01581, allocations: 4 kB / 0.8857 GB, free: 14.05 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001785/0.01599, allocations: 176.7 kB / 0.8858 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.01606, allocations: 43.64 kB / 0.8859 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.01613, allocations: 35.28 kB / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.01614, allocations: 3.984 kB / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01614, allocations: 0 / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01615, allocations: 4 kB / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.01659, allocations: 308.4 kB / 0.8862 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01659, allocations: 0 / 0.8862 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.01672, allocations: 15.94 kB / 0.8862 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.01672, allocations: 4 kB / 0.8862 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01674, allocations: 4 kB / 0.8862 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.01674, allocations: 3.984 kB / 0.8862 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01674, allocations: 0 / 0.8862 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.0172, allocations: 311.6 kB / 0.8865 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.01728, allocations: 43.69 kB / 0.8866 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.01731, allocations: 0 / 0.8866 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.01739, allocations: 0 / 0.8866 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.01745, allocations: 11.98 kB / 0.8866 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.01745, allocations: 0 / 0.8866 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003172/0.01777, allocations: 299 kB / 0.8869 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01777, allocations: 32 / 0.8869 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002671/0.01804, allocations: 51.89 kB / 0.8869 GB, free: 12.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001542/0.01819, allocations: 99.19 kB / 0.887 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.01843, allocations: 83.59 kB / 0.8871 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01844, allocations: 0 / 0.8871 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.01853, allocations: 43.61 kB / 0.8871 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.01889, allocations: 22.34 kB / 0.8871 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.02015, allocations: 0.5981 MB / 0.8877 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.0204, allocations: 192.2 kB / 0.8879 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.695e-05/0.02047, allocations: 12.62 kB / 0.8879 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.02052, allocations: 20.5 kB / 0.8879 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of SimCode: time 1.383e-06/0.02052, allocations: 0 / 0.8879 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.00605/0.02657, allocations: 1.117 MB / 0.889 GB, free: 10.48 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.82103209500201]