Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001529/0.001529, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001695/0.001695, allocations: 161.7 kB / 23.55 MB, free: 0.8945 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.574/1.574, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.034/3.034, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.356e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.0046/0.004633, allocations: 2.366 MB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.005701, allocations: 0.5096 MB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.005795, allocations: 4 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.00621, allocations: 111.6 kB / 0.8138 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.006405, allocations: 106 kB / 0.8139 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.006546, allocations: 39.95 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.006869, allocations: 254.4 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.007079, allocations: 76.41 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.007311, allocations: 135.7 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.007469, allocations: 65.48 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.007512, allocations: 20 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.845e-05/0.00756, allocations: 20 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.00768, allocations: 87.62 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.007809, allocations: 92.61 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.008273, allocations: 326.8 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.008276, allocations: 0.5312 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.008277, allocations: 0 / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.008284, allocations: 0.625 kB / 0.8149 GB, free: 13.89 MB / 0.7761 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.0009928/0.009277, allocations: 0.5797 MB / 0.8155 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.00932, allocations: 12.03 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.009433, allocations: 53.19 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.009873, allocations: 249.3 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.009898, allocations: 12.38 kB / 0.8158 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.009946, allocations: 16.33 kB / 0.8158 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.01029, allocations: 144.3 kB / 0.816 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.01031, allocations: 4.172 kB / 0.816 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.01033, allocations: 5.219 kB / 0.816 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.01033, allocations: 4.375 kB / 0.816 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.01058, allocations: 93.17 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008939/0.01148, allocations: 0.4887 MB / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.01177, allocations: 87.67 kB / 0.8166 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.01189, allocations: 44.95 kB / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.01191, allocations: 1.344 kB / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.01194, allocations: 30.56 kB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.01194, allocations: 7.938 kB / 0.8167 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0004384/0.01238, allocations: 150.9 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.01243, allocations: 59.34 kB / 0.8169 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.0129, allocations: 390 kB / 0.8173 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.01293, allocations: 25.7 kB / 0.8173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.01314, allocations: 223 kB / 0.8175 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.01318, allocations: 35.69 kB / 0.8175 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.01324, allocations: 25.72 kB / 0.8176 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.01346, allocations: 346.8 kB / 0.8179 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.209e-05/0.01355, allocations: 27.98 kB / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01366, allocations: 51.42 kB / 0.818 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.01386, allocations: 93.17 kB / 0.8181 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01386, allocations: 0 / 0.8181 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000308/0.01417, allocations: 155.8 kB / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01419, allocations: 4 kB / 0.8182 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.01419, allocations: 4 kB / 0.8182 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.01422, allocations: 3.984 kB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.01435, allocations: 24.91 kB / 0.8182 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.01436, allocations: 7.922 kB / 0.8183 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.01444, allocations: 12.58 kB / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.01445, allocations: 4 kB / 0.8183 GB, free: 10.3 MB / 0.7761 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.0001806/0.01463, allocations: 162.5 kB / 0.8184 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.01469, allocations: 42.52 kB / 0.8185 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.01477, allocations: 43.27 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01477, allocations: 4 kB / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01478, allocations: 0 / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01478, allocations: 0 / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.01511, allocations: 233.2 kB / 0.8187 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01511, allocations: 4 kB / 0.8187 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.01524, allocations: 26.58 kB / 0.8188 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01525, allocations: 4 kB / 0.8188 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01526, allocations: 0 / 0.8188 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01526, allocations: 0 / 0.8188 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01526, allocations: 0 / 0.8188 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.01569, allocations: 263.3 kB / 0.819 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.01576, allocations: 40.58 kB / 0.8191 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.01579, allocations: 3.938 kB / 0.8191 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.0159, allocations: 11.98 kB / 0.8191 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.01595, allocations: 5.047 kB / 0.8191 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.01597, allocations: 7.984 kB / 0.8191 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004506/0.01642, allocations: 279.1 kB / 0.8193 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01642, allocations: 1.094 kB / 0.8193 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002846/0.0167, allocations: 39.89 kB / 0.8194 GB, free: 9.102 MB / 0.7761 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.0001658/0.01687, allocations: 104.4 kB / 0.8195 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.0171, allocations: 72.91 kB / 0.8196 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.0171, allocations: 0 / 0.8196 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.01719, allocations: 29.53 kB / 0.8196 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.01758, allocations: 27.14 kB / 0.8196 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.01876, allocations: 0.6333 MB / 0.8202 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.01901, allocations: 195 kB / 0.8204 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.475e-05/0.01908, allocations: 16.58 kB / 0.8204 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.01912, allocations: 16.5 kB / 0.8204 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.01913, allocations: 0 / 0.8204 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of Templates: time 0.005326/0.02445, allocations: 1.113 MB / 0.8215 GB, free: 6.887 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.5671812169021]