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.001526/0.001526, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001639/0.001639, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.596/1.596, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.89/2.89, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.597e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005599/0.005635, allocations: 2.569 MB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002392/0.008027, allocations: 1.019 MB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.008326, allocations: 4 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008037/0.009129, allocations: 203.2 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.009481, allocations: 87.78 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.01018, allocations: 180.4 kB / 0.8148 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007002/0.01088, allocations: 412.8 kB / 0.8152 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.01128, allocations: 146.3 kB / 0.8153 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.01169, allocations: 227.4 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.01195, allocations: 128.9 kB / 0.8157 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.787e-05/0.01204, allocations: 40 kB / 0.8157 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.01246, allocations: 171.8 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.01277, allocations: 264.9 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.01309, allocations: 195.3 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.01445, allocations: 0.9613 MB / 0.8172 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01446, allocations: 0 / 0.8172 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01446, allocations: 0 / 0.8172 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.621e-05/0.0145, allocations: 2.219 kB / 0.8172 GB, free: 11.49 MB / 0.7761 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.002596/0.01709, allocations: 1.071 MB / 0.8183 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.01714, allocations: 10.81 kB / 0.8183 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.01866, allocations: 266 kB / 0.8186 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.02036, allocations: 0.6786 MB / 0.8192 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.02039, allocations: 24.97 kB / 0.8192 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.02046, allocations: 32.38 kB / 0.8193 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.02148, allocations: 401.9 kB / 0.8197 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.02149, allocations: 4.188 kB / 0.8197 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.02154, allocations: 17.27 kB / 0.8197 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.02156, allocations: 16.12 kB / 0.8197 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.02271, allocations: 415.4 kB / 0.8201 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003908/0.02661, allocations: 1.415 MB / 0.8215 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/0.02735, allocations: 198.6 kB / 0.8217 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.0277, allocations: 104.7 kB / 0.8218 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.02774, allocations: 8 kB / 0.8218 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.02778, allocations: 34.56 kB / 0.8218 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.02778, allocations: 7.938 kB / 0.8218 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.001239/0.02902, allocations: 371 kB / 0.8222 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.02908, allocations: 55.41 kB / 0.8222 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.031, allocations: 1.222 MB / 0.8234 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.03105, allocations: 33.7 kB / 0.8234 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.03153, allocations: 436.6 kB / 0.8239 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.03161, allocations: 63.44 kB / 0.8239 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.03175, allocations: 53.64 kB / 0.824 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.03194, allocations: 317.9 kB / 0.8243 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.03233, allocations: 147.9 kB / 0.8244 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.0328, allocations: 231.6 kB / 0.8246 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000723/0.03352, allocations: 281 kB / 0.8249 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.03352, allocations: 3.938 kB / 0.8249 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001566/0.03509, allocations: 471.4 kB / 0.8254 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.03512, allocations: 12.16 kB / 0.8254 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.03513, allocations: 0 / 0.8254 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.03517, allocations: 4 kB / 0.8254 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.03553, allocations: 55.89 kB / 0.8254 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/0.03555, allocations: 4 kB / 0.8254 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.03594, allocations: 39.7 kB / 0.8255 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.03598, allocations: 19.98 kB / 0.8255 GB, free: 2.824 MB / 0.7761 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.000466/0.03645, allocations: 265.7 kB / 0.8257 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.03667, allocations: 91.44 kB / 0.8258 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.03767, allocations: 325.4 kB / 0.8261 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.03768, allocations: 4 kB / 0.8261 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.03769, allocations: 0 / 0.8261 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.03769, allocations: 3.938 kB / 0.8261 GB, free: 2.129 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.03967, allocations: 0.8528 MB / 0.827 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.03967, allocations: 0 / 0.827 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.03995, allocations: 48.09 kB / 0.827 GB, free: 1.176 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.03996, allocations: 7.938 kB / 0.827 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.03999, allocations: 11.98 kB / 0.827 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.03999, allocations: 0 / 0.827 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.04, allocations: 4 kB / 0.827 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/0.04098, allocations: 442.5 kB / 0.8275 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.04129, allocations: 131.3 kB / 0.8276 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/0.04138, allocations: 4 kB / 0.8276 GB, free: 0.5547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.0417, allocations: 19.98 kB / 0.8276 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.04178, allocations: 19.97 kB / 0.8276 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.04181, allocations: 11.94 kB / 0.8276 GB, free: 0.5039 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001517/0.04333, allocations: 0.8826 MB / 0.8285 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04333, allocations: 0 / 0.8285 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006004/0.04393, allocations: 107.7 kB / 0.8286 GB, free: 15.5 MB / 0.7917 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.0003291/0.04425, allocations: 119.1 kB / 0.8287 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008757/0.04513, allocations: 271.7 kB / 0.829 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.04513, allocations: 3.938 kB / 0.829 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.04551, allocations: 108.1 kB / 0.8291 GB, free: 15 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.04611, allocations: 75.23 kB / 0.8292 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.04914, allocations: 1.398 MB / 0.8305 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.04975, allocations: 400.5 kB / 0.8309 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003289/0.05008, allocations: 100.5 kB / 0.831 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.05024, allocations: 36.5 kB / 0.831 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of SimCode: time 1.132e-06/0.05024, allocations: 4 kB / 0.831 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of Templates: time 0.01545/0.06569, allocations: 5.531 MB / 0.8364 GB, free: 7.434 MB / 0.7917 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/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: 8.535839213989675]