Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001933/0.001933, allocations: 83.69 kB / 20.24 MB, free: 4.18 MB / 18.57 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.002586/0.002586, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.621/1.621, allocations: 177.2 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.104/3.104, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.909e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004555/0.004584, allocations: 2.469 MB / 0.7888 GB, free: 9.211 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.005682, allocations: 0.5285 MB / 0.7893 GB, free: 8.688 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.48e-05/0.005777, allocations: 0 / 0.7893 GB, free: 8.688 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.006232, allocations: 116.7 kB / 0.7894 GB, free: 8.578 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.006449, allocations: 104.9 kB / 0.7895 GB, free: 8.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.006593, allocations: 43.94 kB / 0.7896 GB, free: 8.438 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.00695, allocations: 254.5 kB / 0.7898 GB, free: 8.188 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.007147, allocations: 75.59 kB / 0.7899 GB, free: 8.113 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.007363, allocations: 137.2 kB / 0.79 GB, free: 7.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.007535, allocations: 71.73 kB / 0.7901 GB, free: 7.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.00759, allocations: 20 kB / 0.7901 GB, free: 7.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.538e-05/0.007645, allocations: 20.97 kB / 0.7901 GB, free: 7.871 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.007763, allocations: 87.62 kB / 0.7902 GB, free: 7.785 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.007896, allocations: 87.72 kB / 0.7903 GB, free: 7.699 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.008455, allocations: 327.5 kB / 0.7906 GB, free: 7.379 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.008458, allocations: 0 / 0.7906 GB, free: 7.379 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008459, allocations: 2.594 kB / 0.7906 GB, free: 7.379 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.008466, allocations: 0 / 0.7906 GB, free: 7.379 MB / 0.698 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.001065/0.00953, allocations: 0.7047 MB / 0.7913 GB, free: 6.633 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.009568, allocations: 12.03 kB / 0.7913 GB, free: 6.621 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.009677, allocations: 57.19 kB / 0.7914 GB, free: 6.566 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.01008, allocations: 246.8 kB / 0.7916 GB, free: 6.301 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.0101, allocations: 9.094 kB / 0.7916 GB, free: 6.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.01014, allocations: 20.91 kB / 0.7916 GB, free: 6.273 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.01045, allocations: 137.9 kB / 0.7918 GB, free: 6.133 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.01047, allocations: 1.844 kB / 0.7918 GB, free: 6.133 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.01048, allocations: 4.375 kB / 0.7918 GB, free: 6.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.01049, allocations: 4.375 kB / 0.7918 GB, free: 6.125 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.01076, allocations: 91.83 kB / 0.7919 GB, free: 6.035 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.0118, allocations: 0.6145 MB / 0.7925 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.01206, allocations: 99.08 kB / 0.7926 GB, free: 5.277 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.01218, allocations: 56.8 kB / 0.7926 GB, free: 5.219 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.0122, allocations: 0 / 0.7926 GB, free: 5.219 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.01224, allocations: 41.39 kB / 0.7926 GB, free: 5.168 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.01224, allocations: 5.312 kB / 0.7927 GB, free: 5.164 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0003796/0.01262, allocations: 153.2 kB / 0.7928 GB, free: 5.008 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.01267, allocations: 51.41 kB / 0.7928 GB, free: 4.945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.01321, allocations: 467.6 kB / 0.7933 GB, free: 4.473 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.01323, allocations: 25.7 kB / 0.7933 GB, free: 4.441 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.01348, allocations: 287 kB / 0.7936 GB, free: 4.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.01352, allocations: 32.48 kB / 0.7936 GB, free: 4.125 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.0136, allocations: 43.36 kB / 0.7937 GB, free: 4.074 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003286/0.01393, allocations: 0.5325 MB / 0.7942 GB, free: 3.531 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.01401, allocations: 27.98 kB / 0.7942 GB, free: 3.504 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.01412, allocations: 66.73 kB / 0.7943 GB, free: 3.422 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.01431, allocations: 104.9 kB / 0.7944 GB, free: 3.305 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01432, allocations: 0 / 0.7944 GB, free: 3.305 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002942/0.01461, allocations: 158.4 kB / 0.7945 GB, free: 3.145 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01462, allocations: 4 kB / 0.7945 GB, free: 3.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.01463, allocations: 0 / 0.7945 GB, free: 3.141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01464, allocations: 9.859 kB / 0.7945 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.01477, allocations: 27.92 kB / 0.7946 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01477, allocations: 0 / 0.7946 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.01485, allocations: 11.94 kB / 0.7946 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.01486, allocations: 4 kB / 0.7946 GB, free: 3.09 MB / 0.698 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.0001588/0.01502, allocations: 179 kB / 0.7948 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.01508, allocations: 39.7 kB / 0.7948 GB, free: 2.867 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.258e-05/0.01516, allocations: 35.28 kB / 0.7948 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01516, allocations: 0 / 0.7948 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01516, allocations: 0 / 0.7948 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01516, allocations: 0 / 0.7948 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.01559, allocations: 297 kB / 0.7951 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.01559, allocations: 0.5312 kB / 0.7951 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.01572, allocations: 27.86 kB / 0.7951 GB, free: 2.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01573, allocations: 1.938 kB / 0.7951 GB, free: 2.477 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.01574, allocations: 4 kB / 0.7951 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01574, allocations: 0 / 0.7951 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01574, allocations: 0 / 0.7951 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.01618, allocations: 307.6 kB / 0.7954 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.01626, allocations: 40.3 kB / 0.7955 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.01629, allocations: 11.98 kB / 0.7955 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.01639, allocations: 4.688 kB / 0.7955 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.01643, allocations: 7.984 kB / 0.7955 GB, free: 2.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.01644, allocations: 11.16 kB / 0.7955 GB, free: 2.082 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003236/0.01677, allocations: 291.1 kB / 0.7958 GB, free: 1.801 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01677, allocations: 0 / 0.7958 GB, free: 1.801 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002782/0.01705, allocations: 43.89 kB / 0.7958 GB, free: 1.758 MB / 0.698 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.0001359/0.01718, allocations: 106.2 kB / 0.7959 GB, free: 1.648 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.01742, allocations: 85.31 kB / 0.796 GB, free: 1.562 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01742, allocations: 0 / 0.796 GB, free: 1.562 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.01752, allocations: 44.42 kB / 0.7961 GB, free: 1.516 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.01783, allocations: 20.5 kB / 0.7961 GB, free: 1.496 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.01892, allocations: 0.6137 MB / 0.7967 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.01913, allocations: 187.7 kB / 0.7968 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.395e-05/0.0192, allocations: 12.64 kB / 0.7969 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.01924, allocations: 16.5 kB / 0.7969 GB, free: 0.625 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.01924, allocations: 0 / 0.7969 GB, free: 0.625 MB / 0.698 GB Notification: Performance of Templates: time 0.005487/0.02472, allocations: 1.11 MB / 0.798 GB, free: 15.54 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.443444758886471]