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.001041/0.001041, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001162/0.001162, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9738/0.9738, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 1.785/1.785, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.403e-06/1.403e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.526e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003114/0.00314, allocations: 2.502 MB / 0.7896 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007052/0.003845, allocations: 0.5321 MB / 0.7901 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.565e-05/0.003931, allocations: 4.688 kB / 0.7901 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.00424, allocations: 123.1 kB / 0.7902 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.004353, allocations: 98.22 kB / 0.7903 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.004464, allocations: 39.95 kB / 0.7903 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.004658, allocations: 250.5 kB / 0.7906 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.00483, allocations: 75.66 kB / 0.7906 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.004972, allocations: 131.7 kB / 0.7908 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.005092, allocations: 76.27 kB / 0.7908 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.005123, allocations: 16.53 kB / 0.7909 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.384e-05/0.005147, allocations: 20.88 kB / 0.7909 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.005226, allocations: 83.69 kB / 0.7909 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.005296, allocations: 88.52 kB / 0.791 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.00552, allocations: 215 kB / 0.7912 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005522, allocations: 0 / 0.7912 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005523, allocations: 0.5312 kB / 0.7912 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.005528, allocations: 5.312 kB / 0.7912 GB, free: 8.594 MB / 0.7448 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.0006146/0.006143, allocations: 0.6868 MB / 0.7919 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.006182, allocations: 8.031 kB / 0.7919 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.006252, allocations: 60.64 kB / 0.792 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.006498, allocations: 251.4 kB / 0.7922 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.006522, allocations: 16.38 kB / 0.7922 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.006552, allocations: 17.05 kB / 0.7923 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.006735, allocations: 120.1 kB / 0.7924 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.006745, allocations: 192 / 0.7924 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.00676, allocations: 12.38 kB / 0.7924 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.006769, allocations: 4.375 kB / 0.7924 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.00687, allocations: 52.34 kB / 0.7924 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.007433, allocations: 0.5599 MB / 0.793 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.007593, allocations: 74.95 kB / 0.7931 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.007644, allocations: 35.05 kB / 0.7931 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.007652, allocations: 0 / 0.7931 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.007672, allocations: 37.39 kB / 0.7931 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.007673, allocations: 0 / 0.7931 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001889/0.007862, allocations: 117.3 kB / 0.7932 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.007891, allocations: 55.41 kB / 0.7933 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.008155, allocations: 446.7 kB / 0.7937 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.008166, allocations: 29.64 kB / 0.7937 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.008292, allocations: 284 kB / 0.794 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.008315, allocations: 35.69 kB / 0.794 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.008353, allocations: 31.38 kB / 0.7941 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.008485, allocations: 0.5318 MB / 0.7946 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.008512, allocations: 12.55 kB / 0.7946 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.008557, allocations: 50.73 kB / 0.7947 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.809e-05/0.008635, allocations: 72.44 kB / 0.7947 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008637, allocations: 0.75 kB / 0.7947 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001218/0.008758, allocations: 134.6 kB / 0.7949 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.00877, allocations: 7.938 kB / 0.7949 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.008776, allocations: 4 kB / 0.7949 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.008787, allocations: 1.281 kB / 0.7949 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.008858, allocations: 23.98 kB / 0.7949 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.008865, allocations: 3.938 kB / 0.7949 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.008904, allocations: 12.77 kB / 0.7949 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.008911, allocations: 4 kB / 0.7949 GB, free: 4.613 MB / 0.7448 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 8.233e-05/0.008993, allocations: 165.5 kB / 0.7951 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.009024, allocations: 39.7 kB / 0.7951 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.009067, allocations: 36.5 kB / 0.7951 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.009068, allocations: 0 / 0.7951 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.009073, allocations: 3.984 kB / 0.7951 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009076, allocations: 0 / 0.7951 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.009273, allocations: 269.5 kB / 0.7954 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.009273, allocations: 0 / 0.7954 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.009338, allocations: 25.67 kB / 0.7954 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.009339, allocations: 3.938 kB / 0.7954 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.009348, allocations: 0 / 0.7954 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.009349, allocations: 0 / 0.7954 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009349, allocations: 0 / 0.7954 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.009539, allocations: 275 kB / 0.7957 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.00958, allocations: 43.69 kB / 0.7957 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.009599, allocations: 4 kB / 0.7957 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.009645, allocations: 3.984 kB / 0.7957 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.009681, allocations: 8 kB / 0.7957 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.009684, allocations: 0 / 0.7957 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004146/0.0101, allocations: 283.1 kB / 0.796 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0101, allocations: 0 / 0.796 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000169/0.01027, allocations: 43.89 kB / 0.7961 GB, free: 3.383 MB / 0.7448 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 7.499e-05/0.01034, allocations: 98.72 kB / 0.7962 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01045, allocations: 60.66 kB / 0.7962 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01045, allocations: 1.031 kB / 0.7962 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.01049, allocations: 31.67 kB / 0.7962 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.01071, allocations: 23.72 kB / 0.7963 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/0.01155, allocations: 0.5926 MB / 0.7968 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.01162, allocations: 111.8 kB / 0.7969 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.01166, allocations: 12.59 kB / 0.797 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.01169, allocations: 16.5 kB / 0.797 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01169, allocations: 0 / 0.797 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of Templates: time 0.003608/0.0153, allocations: 1.127 MB / 0.7981 GB, free: 1.285 MB / 0.7448 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.986691619968042]