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.001474/0.001474, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001809/0.001809, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.607/1.607, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.388/3.388, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002106/0.002106, allocations: 64.05 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5047, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.005188/0.5099, allocations: 2.366 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.511, allocations: 0.5003 MB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.5112, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.5116, allocations: 115.5 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.5118, allocations: 99.27 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.512, allocations: 43.89 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.5123, allocations: 242.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.5126, allocations: 84.08 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.5127, allocations: 87.66 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.5129, allocations: 99.48 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.513, allocations: 20 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.921e-05/0.513, allocations: 20 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.5131, allocations: 83.62 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.5133, allocations: 119.2 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.5137, allocations: 346.4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5137, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5137, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.5137, allocations: 0 / 1.331 GB, free: 12.77 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.0009918/0.5147, allocations: 0.5873 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5148, allocations: 8.031 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.5149, allocations: 48.66 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.5153, allocations: 252.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.5153, allocations: 8.375 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.5154, allocations: 16.38 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.5157, allocations: 150.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.5157, allocations: 192 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.5157, allocations: 7.938 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.5158, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.516, allocations: 87.95 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.5169, allocations: 495.6 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.5173, allocations: 90.64 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.5174, allocations: 40.84 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.5174, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.5174, allocations: 38.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 9.41e-07/0.5174, allocations: 3.938 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004583/0.5179, allocations: 145.4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.5179, allocations: 55.41 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.5184, allocations: 393.9 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.5185, allocations: 30.08 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.5187, allocations: 216.2 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.5187, allocations: 39.72 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.5188, allocations: 21.72 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.519, allocations: 358.7 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.519, allocations: 23.98 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.5192, allocations: 55.42 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.5193, allocations: 99.36 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5193, allocations: 0 / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002562/0.5196, allocations: 145.3 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5196, allocations: 4 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5196, allocations: 4 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.5196, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.5198, allocations: 32.02 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5198, allocations: 0 / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.5199, allocations: 11.95 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.5199, allocations: 4 kB / 1.335 GB, free: 9.152 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.0001963/0.5201, allocations: 170.8 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.5201, allocations: 35.77 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.5202, allocations: 35.22 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5202, allocations: 4 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5202, allocations: 0 / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5202, allocations: 3.984 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.5205, allocations: 237.1 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5205, allocations: 0 / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.5207, allocations: 19.94 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.5207, allocations: 7.984 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5207, allocations: 0 / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.5207, allocations: 7.984 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5207, allocations: 0 / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.5211, allocations: 259.2 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.5212, allocations: 35.78 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.5212, allocations: 3.938 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.5213, allocations: 12.06 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.5214, allocations: 3.984 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.5214, allocations: 4 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003188/0.5217, allocations: 283.1 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.5217, allocations: 0 / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002855/0.522, allocations: 39.89 kB / 1.336 GB, free: 7.961 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.0001551/0.5221, allocations: 103.2 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.5224, allocations: 72.03 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5224, allocations: 4 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.5224, allocations: 31.98 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.0004333/0.5229, allocations: 29.58 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.5242, allocations: 0.6651 MB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5244, allocations: 195.9 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.734e-05/0.5245, allocations: 16.64 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.5246, allocations: 11.44 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.5246, allocations: 0 / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of Templates: time 0.006047/0.5306, allocations: 1.587 MB / 1.338 GB, free: 5.223 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 -s cvode -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: 10.245068884993088]