Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.001731/0.001731, allocations: 100.4 kB / 19.7 MB, free: 2.141 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.002166/0.002166, allocations: 219.4 kB / 22.99 MB, free: 4.961 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.254/3.254, 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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [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.002127/0.002127, allocations: 71.89 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3905, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005085/0.3956, allocations: 2.57 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.3977, allocations: 1.006 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.3981, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007381/0.3988, allocations: 206.6 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3991, allocations: 91.3 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.3997, allocations: 187.6 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006358/0.4004, allocations: 399.8 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.4007, allocations: 146.3 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.401, allocations: 163.2 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.4012, allocations: 151 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.4013, allocations: 40 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.4017, allocations: 171.8 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.402, allocations: 275.1 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.4023, allocations: 258.2 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.4035, allocations: 0.9798 MB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4035, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4035, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.46e-05/0.4035, allocations: 0 / 1.333 GB, free: 11.25 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002199/0.4057, allocations: 1.083 MB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4058, allocations: 12.03 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.4072, allocations: 244 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.4089, allocations: 0.6633 MB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.4089, allocations: 25.03 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.409, allocations: 36.31 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.4099, allocations: 412.2 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.41, allocations: 3.938 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.41, allocations: 16 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.41, allocations: 8 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.4111, allocations: 414.4 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/0.4147, allocations: 1.401 MB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.4154, allocations: 206.6 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.4157, allocations: 92.77 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.4157, allocations: 11.98 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.4158, allocations: 42.56 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.4158, allocations: 0 / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001192/0.417, allocations: 370.8 kB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.417, allocations: 59.34 kB / 1.338 GB, free: 6.027 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.4188, allocations: 1.222 MB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.4188, allocations: 29.7 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.4193, allocations: 428.3 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/0.4194, allocations: 67.42 kB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.4195, allocations: 57.66 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4197, allocations: 318 kB / 1.34 GB, free: 3.879 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.42, allocations: 143.9 kB / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.4205, allocations: 227.6 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006861/0.4212, allocations: 278.9 kB / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4212, allocations: 0 / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001036/0.4222, allocations: 474.6 kB / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4222, allocations: 4 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4222, allocations: 4 kB / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4222, allocations: 0 / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.4226, allocations: 68.05 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.4226, allocations: 7.938 kB / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.4229, allocations: 39.7 kB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.4229, allocations: 4 kB / 1.341 GB, free: 2.605 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0004014/0.4233, allocations: 274.2 kB / 1.341 GB, free: 2.328 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.4235, allocations: 83.44 kB / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009247/0.4244, allocations: 319.4 kB / 1.342 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4244, allocations: 7.938 kB / 1.342 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4244, allocations: 4 kB / 1.342 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4244, allocations: 3.984 kB / 1.342 GB, free: 1.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.4263, allocations: 0.8575 MB / 1.342 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4263, allocations: 0 / 1.342 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.4266, allocations: 43.95 kB / 1.342 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.4266, allocations: 8.188 kB / 1.342 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.4266, allocations: 8 kB / 1.342 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.4266, allocations: 7.938 kB / 1.343 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4266, allocations: 0 / 1.343 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.4275, allocations: 444 kB / 1.343 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.4278, allocations: 123.4 kB / 1.343 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.019e-05/0.4279, allocations: 4 kB / 1.343 GB, free: 344 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.4282, allocations: 15.98 kB / 1.343 GB, free: 328 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.4282, allocations: 19.97 kB / 1.343 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.4283, allocations: 11.98 kB / 1.343 GB, free: 296 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001252/0.4295, allocations: 0.8942 MB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4295, allocations: 0 / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004706/0.43, allocations: 103.7 kB / 1.344 GB, free: 15.28 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002524/0.4302, allocations: 120.9 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000802/0.431, allocations: 267.7 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.431, allocations: 0 / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.4314, allocations: 108.3 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.4319, allocations: 60.92 kB / 1.345 GB, free: 14.73 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.4347, allocations: 1.455 MB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.4353, allocations: 400.8 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.4355, allocations: 51.42 kB / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of SimCode: time 7.42e-07/0.4355, allocations: 0 / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of Templates: time 0.01681/0.4523, allocations: 9.238 MB / 1.355 GB, free: 3.527 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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: 12.252001892775297]