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.001647/0.001647, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001813/0.001813, allocations: 220.1 kB / 23.05 MB, free: 4.844 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.198/3.198, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002039/0.002039, allocations: 74.36 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.376, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004106/0.3801, allocations: 2.368 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.3811, allocations: 0.4926 MB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3812, allocations: 4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.3816, allocations: 123.5 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.3818, allocations: 95.22 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.3819, allocations: 47.89 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.3822, allocations: 242.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.3824, allocations: 72.14 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3826, allocations: 87.66 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.3827, allocations: 83.5 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.3828, allocations: 20 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.3828, allocations: 20 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3829, allocations: 83.62 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.383, allocations: 119.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.3835, allocations: 354.4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3835, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3835, allocations: 3.938 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.3835, allocations: 0 / 1.331 GB, free: 12.76 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.0009206/0.3844, allocations: 0.5817 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3844, allocations: 12.03 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.3845, allocations: 48.59 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.3849, allocations: 248.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3849, allocations: 12.38 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.385, allocations: 12.38 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.3853, allocations: 146.3 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.3853, allocations: 4.125 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3853, allocations: 7.938 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3853, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.3855, allocations: 91.95 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008162/0.3864, allocations: 495.6 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3866, allocations: 86.61 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3867, allocations: 44.88 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.3867, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3868, allocations: 38.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.3868, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003759/0.3872, allocations: 149.4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.3872, allocations: 59.41 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.3877, allocations: 389.9 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3877, allocations: 25.7 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3879, allocations: 220.2 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.3879, allocations: 31.73 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.388, allocations: 25.72 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3881, allocations: 350.7 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.3882, allocations: 27.98 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3883, allocations: 51.42 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3885, allocations: 103.7 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.3885, allocations: 0 / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002704/0.3888, allocations: 145.3 kB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3888, allocations: 10.34 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3888, allocations: 0 / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.3888, allocations: 7.922 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3889, allocations: 24.03 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3889, allocations: 8 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.389, allocations: 15.94 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.3891, allocations: 0 / 1.335 GB, free: 9.145 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.0001719/0.3892, allocations: 165.8 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.3893, allocations: 35.77 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.984e-05/0.3893, allocations: 43.2 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3893, allocations: 0 / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3894, allocations: 0 / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.3894, allocations: 0 / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.3897, allocations: 237.1 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3897, allocations: 4 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.3898, allocations: 23.92 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3898, allocations: 0 / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3898, allocations: 8 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3898, allocations: 0 / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3898, allocations: 0 / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.3902, allocations: 255.2 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.3903, allocations: 31.8 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.3903, allocations: 8 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.3904, allocations: 8.234 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.3904, allocations: 4 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3904, allocations: 7.922 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003023/0.3907, allocations: 279.1 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3907, allocations: 0 / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002789/0.391, allocations: 47.89 kB / 1.336 GB, free: 7.953 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.0001369/0.3912, allocations: 101.6 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.3914, allocations: 71.84 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3914, allocations: 4.188 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.754e-05/0.3915, allocations: 28 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3918, allocations: 35.47 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3931, allocations: 0.698 MB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.3933, allocations: 194.8 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.3933, allocations: 19.42 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3933, allocations: 0 / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of Templates: time 0.005607/0.3989, allocations: 3.177 MB / 1.34 GB, free: 3.59 MB / 1.029 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/jenkins1/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: 11.706456668907776]