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.001593/0.001593, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001744/0.001744, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.882/2.882, allocations: 359 MB / 0.6048 GB, free: 10.95 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 2.124e-06/2.124e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.817e-05/4.03e-05, allocations: 5.406 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004981/0.005021, allocations: 2.361 MB / 0.7887 GB, free: 9.324 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.006372, allocations: 0.5013 MB / 0.7892 GB, free: 8.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.006578, allocations: 4 kB / 0.7892 GB, free: 8.824 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007853/0.007364, allocations: 120.2 kB / 0.7893 GB, free: 8.711 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.007595, allocations: 96.11 kB / 0.7894 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.007764, allocations: 50 kB / 0.7894 GB, free: 8.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.008131, allocations: 254.5 kB / 0.7897 GB, free: 8.324 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.008355, allocations: 79.59 kB / 0.7898 GB, free: 8.246 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.008597, allocations: 131.7 kB / 0.7899 GB, free: 8.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.008772, allocations: 71.8 kB / 0.79 GB, free: 8.047 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.00882, allocations: 16.66 kB / 0.79 GB, free: 8.031 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.915e-05/0.008869, allocations: 21.12 kB / 0.79 GB, free: 8.012 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.008995, allocations: 83.62 kB / 0.7901 GB, free: 7.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.009138, allocations: 87.72 kB / 0.7902 GB, free: 7.844 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.009599, allocations: 324 kB / 0.7905 GB, free: 7.527 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.009606, allocations: 4 kB / 0.7905 GB, free: 7.523 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.009607, allocations: 0 / 0.7905 GB, free: 7.523 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.009615, allocations: 0 / 0.7905 GB, free: 7.523 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.001122/0.01074, allocations: 0.5809 MB / 0.791 GB, free: 6.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/0.0108, allocations: 12.03 kB / 0.7911 GB, free: 6.898 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.01094, allocations: 56.66 kB / 0.7911 GB, free: 6.844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.01148, allocations: 247.9 kB / 0.7913 GB, free: 6.578 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.01151, allocations: 13.34 kB / 0.7914 GB, free: 6.566 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.01157, allocations: 12.38 kB / 0.7914 GB, free: 6.555 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.01198, allocations: 148.3 kB / 0.7915 GB, free: 6.406 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.012, allocations: 192 / 0.7915 GB, free: 6.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.01202, allocations: 10.31 kB / 0.7915 GB, free: 6.398 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.01203, allocations: 4.375 kB / 0.7915 GB, free: 6.395 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.0123, allocations: 95.89 kB / 0.7916 GB, free: 6.301 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.01323, allocations: 490.1 kB / 0.7921 GB, free: 5.793 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.01352, allocations: 94.53 kB / 0.7922 GB, free: 5.691 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.01364, allocations: 48.77 kB / 0.7922 GB, free: 5.641 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.01365, allocations: 0 / 0.7922 GB, free: 5.641 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.01369, allocations: 35.28 kB / 0.7923 GB, free: 5.598 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.01369, allocations: 0 / 0.7923 GB, free: 5.598 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004453/0.01414, allocations: 147.6 kB / 0.7924 GB, free: 5.449 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.01419, allocations: 55.41 kB / 0.7924 GB, free: 5.383 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.01469, allocations: 390 kB / 0.7928 GB, free: 4.992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.01471, allocations: 29.7 kB / 0.7928 GB, free: 4.957 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.01495, allocations: 225 kB / 0.7931 GB, free: 4.734 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.01498, allocations: 31.73 kB / 0.7931 GB, free: 4.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.01505, allocations: 29.67 kB / 0.7931 GB, free: 4.668 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.01526, allocations: 347.6 kB / 0.7934 GB, free: 4.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.01534, allocations: 27.98 kB / 0.7935 GB, free: 4.293 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.01546, allocations: 56.64 kB / 0.7935 GB, free: 4.227 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.01565, allocations: 88.2 kB / 0.7936 GB, free: 4.129 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01565, allocations: 0.9062 kB / 0.7936 GB, free: 4.129 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000314/0.01597, allocations: 158.8 kB / 0.7938 GB, free: 3.969 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01599, allocations: 8 kB / 0.7938 GB, free: 3.961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01599, allocations: 0 / 0.7938 GB, free: 3.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.01601, allocations: 1.219 kB / 0.7938 GB, free: 3.961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01614, allocations: 23.98 kB / 0.7938 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.01615, allocations: 4 kB / 0.7938 GB, free: 3.934 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.01623, allocations: 11.06 kB / 0.7938 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01624, allocations: 4 kB / 0.7938 GB, free: 3.922 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.0001891/0.01643, allocations: 165.7 kB / 0.794 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.0165, allocations: 47.69 kB / 0.794 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.01657, allocations: 43.28 kB / 0.7941 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01658, allocations: 0 / 0.7941 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01658, allocations: 0 / 0.7941 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01659, allocations: 4 kB / 0.7941 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.01692, allocations: 233.7 kB / 0.7943 GB, free: 3.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01692, allocations: 1.125 kB / 0.7943 GB, free: 3.402 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.01705, allocations: 19.94 kB / 0.7943 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01706, allocations: 0 / 0.7943 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01707, allocations: 4.984 kB / 0.7943 GB, free: 3.379 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01707, allocations: 0 / 0.7943 GB, free: 3.379 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01707, allocations: 4.469 kB / 0.7943 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.01752, allocations: 261.4 kB / 0.7946 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.01759, allocations: 43.66 kB / 0.7946 GB, free: 3.062 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.01763, allocations: 8 kB / 0.7946 GB, free: 3.055 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.01774, allocations: 0 / 0.7946 GB, free: 3.055 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.01779, allocations: 12.42 kB / 0.7946 GB, free: 3.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.01779, allocations: 1.344 kB / 0.7946 GB, free: 3.043 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003433/0.01814, allocations: 283.1 kB / 0.7949 GB, free: 2.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.01814, allocations: 0 / 0.7949 GB, free: 2.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002838/0.01842, allocations: 43.89 kB / 0.7949 GB, free: 2.727 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.0001498/0.01857, allocations: 96.22 kB / 0.795 GB, free: 2.621 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.01881, allocations: 71.38 kB / 0.7951 GB, free: 2.555 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01881, allocations: 0 / 0.7951 GB, free: 2.555 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/0.01891, allocations: 35.92 kB / 0.7951 GB, free: 2.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.01933, allocations: 30.47 kB / 0.7952 GB, free: 2.492 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.02061, allocations: 0.6361 MB / 0.7958 GB, free: 1.832 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.02089, allocations: 195 kB / 0.796 GB, free: 1.625 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.468e-05/0.02097, allocations: 12.64 kB / 0.796 GB, free: 1.609 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.02102, allocations: 16.5 kB / 0.796 GB, free: 1.59 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/0.02102, allocations: 0 / 0.796 GB, free: 1.59 MB / 0.698 GB Notification: Performance of Templates: time 0.006131/0.02716, allocations: 1.11 MB / 0.7971 GB, free: 0.5078 MB / 0.698 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] 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.398207161924802]