Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001847/0.001847, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.002265/0.002265, allocations: 163.3 kB / 22.46 MB, free: 5.371 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.611/1.611, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.886/2.886, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/4.02e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004797/0.004838, allocations: 2.572 MB / 0.9535 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.006783, allocations: 1.014 MB / 0.9545 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.006943, allocations: 4 kB / 0.9545 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.007594, allocations: 206.5 kB / 0.9547 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.00781, allocations: 95.23 kB / 0.9548 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.008391, allocations: 183.6 kB / 0.955 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.008916, allocations: 411.6 kB / 0.9553 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.009204, allocations: 142.3 kB / 0.9555 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.009465, allocations: 223.4 kB / 0.9557 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.009653, allocations: 131.5 kB / 0.9558 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.009719, allocations: 40 kB / 0.9559 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.01007, allocations: 179.6 kB / 0.956 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.01032, allocations: 263.2 kB / 0.9563 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.01056, allocations: 199.3 kB / 0.9565 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.01171, allocations: 0.9536 MB / 0.9574 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01172, allocations: 0 / 0.9574 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01172, allocations: 0 / 0.9574 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.01174, allocations: 0 / 0.9574 GB, free: 4.945 MB / 0.8575 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.001728/0.01346, allocations: 1.086 MB / 0.9585 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.01351, allocations: 8.031 kB / 0.9585 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.01492, allocations: 240 kB / 0.9587 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.01643, allocations: 0.6664 MB / 0.9593 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.01645, allocations: 25.03 kB / 0.9594 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.01652, allocations: 28.38 kB / 0.9594 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009421/0.01747, allocations: 408.2 kB / 0.9598 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.01748, allocations: 192 / 0.9598 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.01752, allocations: 16.38 kB / 0.9598 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.01753, allocations: 8.125 kB / 0.9598 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.01864, allocations: 418.4 kB / 0.9602 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.02186, allocations: 1.409 MB / 0.9616 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.02259, allocations: 212.6 kB / 0.9618 GB, free: 324 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.02292, allocations: 88.81 kB / 0.9619 GB, free: 232 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.02296, allocations: 8 kB / 0.9619 GB, free: 224 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.02299, allocations: 38.56 kB / 0.9619 GB, free: 176 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.023, allocations: 0 / 0.9619 GB, free: 176 kB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.001238/0.02423, allocations: 371.3 kB / 0.9623 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.02429, allocations: 59.41 kB / 0.9623 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.0259, allocations: 1.214 MB / 0.9635 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.02594, allocations: 33.7 kB / 0.9635 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.02637, allocations: 428.3 kB / 0.964 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.02644, allocations: 67.44 kB / 0.964 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.02655, allocations: 61.58 kB / 0.9641 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.02671, allocations: 321.9 kB / 0.9644 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.0271, allocations: 143.9 kB / 0.9645 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.02757, allocations: 228.1 kB / 0.9647 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/0.02835, allocations: 279.4 kB / 0.965 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.02835, allocations: 0 / 0.965 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00104/0.02939, allocations: 463.4 kB / 0.9654 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.02941, allocations: 11.98 kB / 0.9655 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.02942, allocations: 0 / 0.9655 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.02944, allocations: 4.156 kB / 0.9655 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.02979, allocations: 63.91 kB / 0.9655 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.0298, allocations: 3.938 kB / 0.9655 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.0301, allocations: 39.7 kB / 0.9656 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.03013, allocations: 11.98 kB / 0.9656 GB, free: 12.31 MB / 0.8731 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.0003605/0.03049, allocations: 269.7 kB / 0.9658 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.03061, allocations: 87.44 kB / 0.9659 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/0.03154, allocations: 321.5 kB / 0.9662 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.03154, allocations: 4 kB / 0.9662 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.03154, allocations: 0 / 0.9662 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.03155, allocations: 7.922 kB / 0.9662 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.0333, allocations: 0.8575 MB / 0.9671 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.03331, allocations: 0 / 0.9671 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.03359, allocations: 44.09 kB / 0.9671 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.0336, allocations: 11.94 kB / 0.9671 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.03363, allocations: 11.98 kB / 0.9671 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.03363, allocations: 0 / 0.9671 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.03363, allocations: 4 kB / 0.9671 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/0.03454, allocations: 433.9 kB / 0.9676 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.03478, allocations: 127.3 kB / 0.9677 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.03486, allocations: 8 kB / 0.9677 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.03516, allocations: 11.98 kB / 0.9677 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.03523, allocations: 19.97 kB / 0.9677 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.03526, allocations: 12 kB / 0.9677 GB, free: 10 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00121/0.03647, allocations: 0.8825 MB / 0.9686 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.03647, allocations: 0 / 0.9686 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005017/0.03697, allocations: 115.6 kB / 0.9687 GB, free: 8.992 MB / 0.8731 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.0002716/0.03724, allocations: 115.1 kB / 0.9688 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008682/0.03811, allocations: 279.6 kB / 0.9691 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.03811, allocations: 0 / 0.9691 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.03848, allocations: 104.2 kB / 0.9692 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.03901, allocations: 65.3 kB / 0.9692 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.04164, allocations: 1.376 MB / 0.9706 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.04211, allocations: 401.3 kB / 0.971 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.0424, allocations: 92.53 kB / 0.9711 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.04255, allocations: 44.48 kB / 0.9711 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of SimCode: time 3.7e-07/0.04255, allocations: 4 kB / 0.9711 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of Templates: time 0.01439/0.05694, allocations: 5.494 MB / 0.9765 GB, free: 0.9883 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.958788502961397]