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.001495/0.001495, allocations: 88.72 kB / 19.44 MB, free: 356 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.001719/0.001719, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.38/3.38, allocations: 429.6 MB / 0.673 GB, free: 3.863 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 2.144e-06/2.144e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.456e-05, allocations: 4.672 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004498/0.004532, allocations: 2.363 MB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.005718, allocations: 0.5125 MB / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.005822, allocations: 4 kB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.006275, allocations: 122.4 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.006466, allocations: 98.89 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.00661, allocations: 43.89 kB / 0.8807 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.00695, allocations: 250.5 kB / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.007166, allocations: 79.59 kB / 0.881 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.007375, allocations: 131.7 kB / 0.8811 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.007529, allocations: 63.75 kB / 0.8812 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.00757, allocations: 20 kB / 0.8812 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.007621, allocations: 20 kB / 0.8812 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.007735, allocations: 83.69 kB / 0.8813 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.007876, allocations: 91.7 kB / 0.8814 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.008317, allocations: 334.8 kB / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.008321, allocations: 0 / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.52e-07/0.008322, allocations: 0 / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.008328, allocations: 0 / 0.8817 GB, free: 2.301 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.001002/0.00933, allocations: 0.5778 MB / 0.8823 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.009377, allocations: 12.03 kB / 0.8823 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.009491, allocations: 56.66 kB / 0.8823 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.009925, allocations: 251.9 kB / 0.8826 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.009954, allocations: 16.38 kB / 0.8826 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.01, allocations: 16.31 kB / 0.8826 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.01032, allocations: 134 kB / 0.8827 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01034, allocations: 192 / 0.8827 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.01036, allocations: 8.375 kB / 0.8827 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01037, allocations: 4.375 kB / 0.8828 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.01062, allocations: 91.89 kB / 0.8828 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008774/0.0115, allocations: 499.9 kB / 0.8833 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.01181, allocations: 86.44 kB / 0.8834 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.01194, allocations: 52.94 kB / 0.8834 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.01195, allocations: 0 / 0.8834 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.01199, allocations: 34.55 kB / 0.8835 GB, free: 380 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.01199, allocations: 4 kB / 0.8835 GB, free: 376 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0004291/0.01242, allocations: 145.7 kB / 0.8836 GB, free: 224 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.01247, allocations: 59.41 kB / 0.8837 GB, free: 152 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.01296, allocations: 390 kB / 0.8841 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.01299, allocations: 25.7 kB / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.01319, allocations: 216.2 kB / 0.8843 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.01323, allocations: 27.75 kB / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.01328, allocations: 29.7 kB / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.01349, allocations: 346.8 kB / 0.8847 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.01358, allocations: 23.98 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.0137, allocations: 67.34 kB / 0.8848 GB, free: 15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.0139, allocations: 103.3 kB / 0.8849 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01391, allocations: 0 / 0.8849 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003065/0.01421, allocations: 153.2 kB / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.01423, allocations: 4 kB / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.01424, allocations: 4 kB / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.01427, allocations: 0 / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.01439, allocations: 28.08 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.0144, allocations: 0 / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.01449, allocations: 15.89 kB / 0.8851 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.0145, allocations: 4 kB / 0.8851 GB, free: 14.68 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.0001956/0.0147, allocations: 165.8 kB / 0.8852 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.01477, allocations: 39.7 kB / 0.8853 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.01485, allocations: 43.27 kB / 0.8853 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01485, allocations: 0 / 0.8853 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.01485, allocations: 0 / 0.8853 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01486, allocations: 0 / 0.8853 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.0152, allocations: 233.2 kB / 0.8855 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.0152, allocations: 4 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.01534, allocations: 23.92 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01534, allocations: 4 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01535, allocations: 0 / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01535, allocations: 0 / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01535, allocations: 0 / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.01581, allocations: 259.2 kB / 0.8858 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.01589, allocations: 43.62 kB / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.01592, allocations: 0 / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.01602, allocations: 12 kB / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.01608, allocations: 7.984 kB / 0.8859 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01609, allocations: 4 kB / 0.8859 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003606/0.01645, allocations: 279.1 kB / 0.8861 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01645, allocations: 0 / 0.8861 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002874/0.01673, allocations: 47.84 kB / 0.8862 GB, free: 13.48 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.0001513/0.01688, allocations: 95.25 kB / 0.8863 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.01712, allocations: 72.09 kB / 0.8863 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01712, allocations: 4 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.0172, allocations: 35.92 kB / 0.8864 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.01764, allocations: 32.25 kB / 0.8864 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.0189, allocations: 0.6314 MB / 0.887 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.01914, allocations: 191 kB / 0.8872 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.826e-05/0.01921, allocations: 16.64 kB / 0.8872 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.01926, allocations: 12.5 kB / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.01926, allocations: 0 / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.005309/0.02457, allocations: 1.118 MB / 0.8883 GB, free: 11.26 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 800] 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.849154226947576]