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.001353/0.001353, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001572/0.001572, allocations: 214.9 kB / 22.99 MB, free: 4.945 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.35/3.35, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 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.002089/0.002089, allocations: 65 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3664, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004185/0.3705, allocations: 2.362 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3716, allocations: 0.5042 MB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3717, allocations: 4 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.3721, allocations: 123.5 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.3723, allocations: 95.27 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.3724, allocations: 35.97 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.3727, allocations: 246.7 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.3729, allocations: 72.12 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3731, allocations: 87.67 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3732, allocations: 91.44 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.3733, allocations: 20 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.3733, allocations: 20 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3734, allocations: 83.62 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3735, allocations: 119.2 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.374, allocations: 354.3 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.374, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.374, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.374, allocations: 0 / 1.33 GB, free: 13.63 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.0009751/0.375, allocations: 0.5856 MB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.375, allocations: 12.03 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.3751, allocations: 44.66 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.3755, allocations: 248.7 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.3755, allocations: 12.38 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.3756, allocations: 16.36 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.3759, allocations: 142.3 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3759, allocations: 192 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.3759, allocations: 7.938 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3759, allocations: 8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.3762, allocations: 91.95 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.377, allocations: 495.6 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.3773, allocations: 82.55 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3774, allocations: 40.89 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3774, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.3775, allocations: 42.56 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3775, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004041/0.3779, allocations: 145.4 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.378, allocations: 55.41 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.3784, allocations: 393.9 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.3785, allocations: 29.7 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.3787, allocations: 212.2 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.3787, allocations: 31.73 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.3787, allocations: 33.64 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3789, allocations: 354.8 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.379, allocations: 28.36 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3791, allocations: 59.34 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.3793, allocations: 95.3 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3793, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002876/0.3796, allocations: 149.4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3796, allocations: 8 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3796, allocations: 0 / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3796, allocations: 0 / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3797, allocations: 27.98 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.3797, allocations: 4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.3798, allocations: 11.95 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.3798, allocations: 4 kB / 1.334 GB, free: 10.02 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.0001794/0.38, allocations: 165.7 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.3801, allocations: 35.77 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.3801, allocations: 47.23 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3801, allocations: 0 / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3801, allocations: 0 / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3801, allocations: 0 / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.3805, allocations: 237.1 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3805, allocations: 0 / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3806, allocations: 23.98 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.3806, allocations: 4 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3806, allocations: 0 / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3806, allocations: 0 / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3806, allocations: 0 / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.381, allocations: 271.2 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.3811, allocations: 31.8 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3811, allocations: 7.984 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.3812, allocations: 0 / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.3813, allocations: 15.92 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3813, allocations: 0 / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003045/0.3816, allocations: 279.1 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3816, allocations: 0 / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002829/0.3818, allocations: 51.84 kB / 1.335 GB, free: 8.816 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.0001484/0.382, allocations: 107.2 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.3822, allocations: 67.91 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3822, allocations: 4 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.3823, allocations: 31.92 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3827, allocations: 26.95 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.384, allocations: 0.7099 MB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.3843, allocations: 199.7 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.3843, allocations: 15.44 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/0.3843, allocations: 0 / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of Templates: time 0.005896/0.3902, allocations: 3.16 MB / 1.339 GB, free: 4.457 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.92876290390268]