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.0019/0.0019, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002498/0.002498, allocations: 210.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.679/1.679, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.821/3.821, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 68.97 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.5225, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.005759/0.5283, allocations: 2.362 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.5299, allocations: 0.5081 MB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.5302, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.5308, allocations: 119.5 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.5312, allocations: 95.27 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.5314, allocations: 39.97 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.5319, allocations: 242.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.5321, allocations: 72.12 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.5323, allocations: 91.61 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.5325, allocations: 91.5 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.605e-05/0.5325, allocations: 16 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.9e-05/0.5326, allocations: 20 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.5327, allocations: 79.69 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.5329, allocations: 115.2 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.5334, allocations: 354.3 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.5334, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5334, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.5334, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 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.001054/0.5344, allocations: 0.5896 MB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5345, allocations: 8.031 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.5346, allocations: 44.66 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.535, allocations: 248.7 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.535, allocations: 12.38 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.5351, allocations: 16.38 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.5354, allocations: 142.3 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.5355, allocations: 192 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.5355, allocations: 19.94 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.5355, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.5358, allocations: 99.89 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.5368, allocations: 487.6 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.5372, allocations: 82.55 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.5373, allocations: 44.88 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.5373, allocations: 15.94 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.5373, allocations: 30.56 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.5373, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004947/0.5378, allocations: 149.3 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.5379, allocations: 59.41 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.5384, allocations: 389.9 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.5384, allocations: 29.7 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.5387, allocations: 220.1 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.5387, allocations: 31.73 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.5388, allocations: 33.7 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.539, allocations: 346.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.5391, allocations: 27.98 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.5392, allocations: 58.28 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.5394, allocations: 87.38 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5394, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003031/0.5397, allocations: 153.3 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.5397, allocations: 7.984 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5397, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.5397, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5398, allocations: 27.98 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5399, allocations: 480 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.5399, allocations: 7.953 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.5399, allocations: 4 kB / 1.333 GB, free: 10.06 MB / 1.029 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.0002052/0.5401, allocations: 165.8 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/0.5402, allocations: 39.77 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.982e-05/0.5403, allocations: 47.14 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5403, allocations: 0 / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5403, allocations: 0 / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5403, allocations: 0 / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.5407, allocations: 241.1 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5407, allocations: 0 / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.5408, allocations: 23.98 kB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5408, allocations: 0 / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5408, allocations: 0 / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5408, allocations: 0 / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5408, allocations: 4 kB / 1.333 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.5413, allocations: 267 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/0.5413, allocations: 35.8 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.5414, allocations: 7.984 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.5415, allocations: 0 / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.5416, allocations: 11.98 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.5416, allocations: 0 / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003269/0.5419, allocations: 275.1 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5419, allocations: 0 / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002914/0.5422, allocations: 59.89 kB / 1.334 GB, free: 8.852 MB / 1.029 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.0001709/0.5423, allocations: 99.23 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.5426, allocations: 71.91 kB / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5426, allocations: 0 / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.5427, allocations: 32.2 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.5432, allocations: 25.91 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.5445, allocations: 0.669 MB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.5448, allocations: 198.8 kB / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.421e-05/0.5448, allocations: 12.64 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.5449, allocations: 15.44 kB / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.5449, allocations: 0 / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of Templates: time 0.006218/0.5511, allocations: 1.542 MB / 1.337 GB, free: 6.16 MB / 1.029 GB " [Timeout remaining time 299] 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: 10.913273999467492]