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.001082/0.001082, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002496, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001072/0.001072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.002139, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.938/0.938, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.038, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.473/2.473, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.26/2.733, allocations: 145.9 MB / 0.817 GB, free: 4.184 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.645e-06/2.645e-06, allocations: 3.984 kB / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.406e-05, allocations: 8.922 kB / 0.8183 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.007605/0.007629, allocations: 2.535 MB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.008672, allocations: 0.5587 MB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.821e-05/0.00876, allocations: 8 kB / 0.8214 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.009086, allocations: 120.3 kB / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.009245, allocations: 99.16 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.009354, allocations: 43.94 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.009593, allocations: 250.6 kB / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.009764, allocations: 74.28 kB / 0.8219 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.01307, allocations: 181.3 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.01323, allocations: 71.81 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.01327, allocations: 16 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.484e-05/0.0133, allocations: 16 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.01339, allocations: 75.72 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.01348, allocations: 75.75 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.01379, allocations: 199.1 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.005e-05/0.01381, allocations: 0 / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.673e-06/0.01381, allocations: 0 / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.01383, allocations: 0 / 0.8225 GB, free: 14.52 MB / 0.8073 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.0007539/0.01458, allocations: 0.6113 MB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.01462, allocations: 12.62 kB / 0.8231 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.01469, allocations: 36.89 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.01494, allocations: 232 kB / 0.8234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.01496, allocations: 8.375 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.01499, allocations: 16.38 kB / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.01518, allocations: 118.4 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01519, allocations: 192 / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.0152, allocations: 4.375 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.01521, allocations: 4.375 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.015e-05/0.0153, allocations: 43.91 kB / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.019, allocations: 327.6 kB / 0.8239 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.01922, allocations: 42.56 kB / 0.8239 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.01928, allocations: 28.83 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.01929, allocations: 3.938 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.01933, allocations: 34.56 kB / 0.824 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 3.226e-06/0.01933, allocations: 0 / 0.824 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0002409/0.01957, allocations: 81.83 kB / 0.8241 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.01962, allocations: 51.41 kB / 0.8241 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.01998, allocations: 331.3 kB / 0.8244 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.02, allocations: 25.7 kB / 0.8245 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.02011, allocations: 169.2 kB / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.02015, allocations: 39.66 kB / 0.8247 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.0202, allocations: 21.72 kB / 0.8247 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.02034, allocations: 350.7 kB / 0.825 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.02037, allocations: 4 kB / 0.825 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.02042, allocations: 43.36 kB / 0.8251 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.02056, allocations: 59.34 kB / 0.8251 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.02056, allocations: 0 / 0.8251 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000171/0.02073, allocations: 93.47 kB / 0.8252 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.02075, allocations: 11.98 kB / 0.8252 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.02076, allocations: 0 / 0.8252 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.02077, allocations: 0 / 0.8252 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.02101, allocations: 38.25 kB / 0.8252 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.02102, allocations: 8 kB / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.02109, allocations: 7.953 kB / 0.8253 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.0211, allocations: 4 kB / 0.8253 GB, free: 11.52 MB / 0.8073 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 (12): * Single equations (assignments): 12 * 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.0001121/0.02122, allocations: 112.7 kB / 0.8254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.02127, allocations: 27.91 kB / 0.8254 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.02133, allocations: 31.28 kB / 0.8254 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.02134, allocations: 4 kB / 0.8254 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.02134, allocations: 0 / 0.8254 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.02135, allocations: 4 kB / 0.8254 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.02464, allocations: 149.7 kB / 0.8256 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.02464, allocations: 0 / 0.8256 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.0248, allocations: 23.98 kB / 0.8256 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.02487, allocations: 35.69 kB / 0.8256 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.02487, allocations: 0 / 0.8256 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.02489, allocations: 11.94 kB / 0.8257 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.02489, allocations: 0 / 0.8257 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.02489, allocations: 0 / 0.8257 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.02512, allocations: 175.4 kB / 0.8258 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.02515, allocations: 15.95 kB / 0.8258 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.02523, allocations: 0 / 0.8258 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.02527, allocations: 4 kB / 0.8258 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.02528, allocations: 3.984 kB / 0.8258 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001391/0.02542, allocations: 136.7 kB / 0.826 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.02542, allocations: 0 / 0.826 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002861/0.0257, allocations: 51.84 kB / 0.826 GB, free: 10.7 MB / 0.8073 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 (8): * Single equations (assignments): 8 * 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.0001395/0.02584, allocations: 80.36 kB / 0.8261 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.02597, allocations: 40.95 kB / 0.8261 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/0.02598, allocations: 8 kB / 0.8261 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.479e-05/0.02602, allocations: 24.84 kB / 0.8262 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.02631, allocations: 37.66 kB / 0.8262 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/0.03248, allocations: 0.5944 MB / 0.8268 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.413e-05/0.03256, allocations: 103.3 kB / 0.8269 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.687e-05/0.03263, allocations: 16.64 kB / 0.8269 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.03271, allocations: 71.36 kB / 0.827 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of SimCode: time 1.573e-06/0.03271, allocations: 0 / 0.827 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of Templates: time 0.01137/0.04408, allocations: 1.232 MB / 0.8282 GB, free: 8.477 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.324151081033051]