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.001699/0.001699, 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.001857/0.001857, allocations: 209.6 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.665/1.665, allocations: 230.6 MB / 256 MB, free: 7.781 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.581/3.581, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.002213/0.002213, allocations: 66.91 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5092, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.006358/0.5156, allocations: 2.566 MB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.5185, allocations: 1.006 MB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005917/0.5191, allocations: 12 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.5202, allocations: 202.6 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.5208, allocations: 87.31 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.5217, allocations: 179.7 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008695/0.5225, allocations: 407.7 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004615/0.523, allocations: 146.3 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.5234, allocations: 155.3 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.5237, allocations: 163 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.5238, allocations: 44 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.5243, allocations: 167.8 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.5247, allocations: 263.1 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004203/0.5251, allocations: 258.2 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.5267, allocations: 0.9798 MB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.5267, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.847e-06/0.5267, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.876e-05/0.5267, allocations: 0 / 1.332 GB, free: 11.23 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.002847/0.5296, allocations: 1.086 MB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.5296, allocations: 8.031 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.531, allocations: 248 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.5327, allocations: 0.6711 MB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.5327, allocations: 24.97 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.5328, allocations: 28.38 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.5337, allocations: 412.2 kB / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5338, allocations: 3.938 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.5338, allocations: 20 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.5338, allocations: 8 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.5349, allocations: 414.4 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.5383, allocations: 1.401 MB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.539, allocations: 202.6 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.5393, allocations: 107 kB / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.5394, allocations: 4 kB / 1.336 GB, free: 6.488 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.5394, allocations: 38.5 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.5394, allocations: 0 / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001183/0.5406, allocations: 364.9 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.5407, allocations: 67.28 kB / 1.337 GB, free: 6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.5424, allocations: 1.218 MB / 1.338 GB, free: 4.758 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.5424, allocations: 33.7 kB / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.5429, allocations: 428.3 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.422e-05/0.543, allocations: 75.72 kB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.5431, allocations: 49.66 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5433, allocations: 322 kB / 1.339 GB, free: 3.848 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.5437, allocations: 139.9 kB / 1.339 GB, free: 3.711 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.5441, allocations: 231.6 kB / 1.339 GB, free: 3.457 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.5448, allocations: 275.3 kB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5448, allocations: 3.938 kB / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009736/0.5458, allocations: 466.5 kB / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.5458, allocations: 10.03 kB / 1.34 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5458, allocations: 4 kB / 1.34 GB, free: 2.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.5458, allocations: 0 / 1.34 GB, free: 2.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.5462, allocations: 63.84 kB / 1.34 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.5462, allocations: 7.984 kB / 1.34 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.5465, allocations: 35.77 kB / 1.34 GB, free: 2.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.5465, allocations: 15.94 kB / 1.34 GB, free: 2.574 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.0004054/0.5469, allocations: 274.2 kB / 1.34 GB, free: 2.297 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.547, allocations: 83.44 kB / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/0.548, allocations: 319.3 kB / 1.341 GB, free: 1.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.548, allocations: 3.938 kB / 1.341 GB, free: 1.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.548, allocations: 4 kB / 1.341 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.548, allocations: 3.984 kB / 1.341 GB, free: 1.883 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.5498, allocations: 0.8533 MB / 1.342 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5498, allocations: 4 kB / 1.342 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.5501, allocations: 52.14 kB / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5501, allocations: 0 / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.5501, allocations: 11.98 kB / 1.342 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.5501, allocations: 4 kB / 1.342 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.5501, allocations: 3.938 kB / 1.342 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008685/0.551, allocations: 440 kB / 1.342 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.5513, allocations: 123.4 kB / 1.342 GB, free: 320 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.5513, allocations: 4 kB / 1.342 GB, free: 316 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.5516, allocations: 19.98 kB / 1.342 GB, free: 296 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.5517, allocations: 23.91 kB / 1.342 GB, free: 272 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.5517, allocations: 7.984 kB / 1.342 GB, free: 264 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001188/0.5529, allocations: 0.8903 MB / 1.343 GB, free: 15.36 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.5529, allocations: 3.938 kB / 1.343 GB, free: 15.35 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004662/0.5534, allocations: 103.7 kB / 1.343 GB, free: 15.25 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.0002322/0.5536, allocations: 115.1 kB / 1.343 GB, free: 15.13 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007723/0.5544, allocations: 267.7 kB / 1.344 GB, free: 14.87 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.5544, allocations: 8.25 kB / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.5547, allocations: 103.8 kB / 1.344 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.5552, allocations: 61.44 kB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.5578, allocations: 1.391 MB / 1.345 GB, free: 13.26 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.5584, allocations: 400.6 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003424/0.5587, allocations: 96.53 kB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5589, allocations: 43.44 kB / 1.346 GB, free: 12.7 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/0.5589, allocations: 0 / 1.346 GB, free: 12.7 MB / 1.045 GB Notification: Performance of Templates: time 0.01857/0.5774, allocations: 6.239 MB / 1.352 GB, free: 6.488 MB / 1.045 GB " [Timeout remaining time 299] 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/jenkins/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: 10.57534060627222]