Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008928/0.0008928, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0008782/0.0008782, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9337/0.9337, allocations: 177.1 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.317/2.317, allocations: 429.5 MB / 0.6732 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.36e-06, allocations: 4.641 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.267e-05/5.803e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.007432/0.00749, allocations: 2.705 MB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.01071, allocations: 1.066 MB / 0.8819 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.01109, allocations: 4.75 kB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.0121, allocations: 195.4 kB / 0.8821 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.01254, allocations: 103.8 kB / 0.8822 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009626/0.0135, allocations: 185.2 kB / 0.8823 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007624/0.01426, allocations: 411.6 kB / 0.8827 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004858/0.01475, allocations: 146.3 kB / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.01526, allocations: 236.3 kB / 0.8831 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.01559, allocations: 119.5 kB / 0.8832 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.01572, allocations: 40.62 kB / 0.8833 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.01618, allocations: 161.4 kB / 0.8834 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.01647, allocations: 263.2 kB / 0.8837 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000454/0.01692, allocations: 195.2 kB / 0.8838 GB, free: 496 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.0181, allocations: 0.5834 MB / 0.8844 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.0181, allocations: 0 / 0.8844 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.086e-06/0.01811, allocations: 2.969 kB / 0.8844 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.845e-05/0.01816, allocations: 0 / 0.8844 GB, free: 15.9 MB / 0.8542 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.002613/0.02077, allocations: 1.194 MB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.02083, allocations: 8.031 kB / 0.8856 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.02192, allocations: 225.6 kB / 0.8858 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008964/0.02281, allocations: 0.5006 MB / 0.8863 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.02285, allocations: 21.03 kB / 0.8863 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.0229, allocations: 40.31 kB / 0.8864 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.02366, allocations: 281 kB / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.02368, allocations: 192 / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.02372, allocations: 16.36 kB / 0.8866 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.02374, allocations: 8.375 kB / 0.8866 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.02417, allocations: 151.7 kB / 0.8868 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.02733, allocations: 1.299 MB / 0.8881 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.02785, allocations: 131.2 kB / 0.8882 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.02798, allocations: 43.67 kB / 0.8882 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.02804, allocations: 8 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.02808, allocations: 45.33 kB / 0.8883 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 3.757e-06/0.02809, allocations: 0 / 0.8883 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0006749/0.02876, allocations: 231.4 kB / 0.8885 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.02882, allocations: 59.36 kB / 0.8886 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.03025, allocations: 0.9581 MB / 0.8895 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.03029, allocations: 33.7 kB / 0.8895 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.03081, allocations: 0.5029 MB / 0.89 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.03089, allocations: 75.69 kB / 0.8901 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.03101, allocations: 59.34 kB / 0.8901 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.03121, allocations: 0.4886 MB / 0.8906 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.03134, allocations: 35.98 kB / 0.8907 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.03153, allocations: 111.5 kB / 0.8908 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.03184, allocations: 149.9 kB / 0.8909 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.03185, allocations: 0 / 0.8909 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005681/0.03242, allocations: 280.7 kB / 0.8912 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.03245, allocations: 4 kB / 0.8912 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.03246, allocations: 4 kB / 0.8912 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.03249, allocations: 3.984 kB / 0.8912 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.03277, allocations: 56.06 kB / 0.8912 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.03279, allocations: 11.98 kB / 0.8912 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.03299, allocations: 23.88 kB / 0.8913 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.03302, allocations: 15.94 kB / 0.8913 GB, free: 8.582 MB / 0.8542 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.0002124/0.03324, allocations: 164.5 kB / 0.8914 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.03338, allocations: 95.39 kB / 0.8915 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.03391, allocations: 217.5 kB / 0.8917 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.03392, allocations: 4 kB / 0.8917 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.03393, allocations: 0 / 0.8917 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.03393, allocations: 0 / 0.8917 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.03589, allocations: 0.8773 MB / 0.8926 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.03589, allocations: 4 kB / 0.8926 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.0361, allocations: 35.92 kB / 0.8926 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.03612, allocations: 7.938 kB / 0.8926 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.03614, allocations: 11.98 kB / 0.8927 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.03615, allocations: 0 / 0.8927 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.03615, allocations: 4 kB / 0.8927 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.03665, allocations: 415.2 kB / 0.8931 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.03689, allocations: 131.3 kB / 0.8932 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.03696, allocations: 7.938 kB / 0.8932 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.03717, allocations: 11.98 kB / 0.8932 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.03725, allocations: 19.92 kB / 0.8932 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.03728, allocations: 11.98 kB / 0.8932 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008238/0.0381, allocations: 0.5974 MB / 0.8938 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.71e-07/0.03811, allocations: 8 kB / 0.8938 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004786/0.03858, allocations: 95.78 kB / 0.8939 GB, free: 5.742 MB / 0.8542 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.0003131/0.0389, allocations: 115.2 kB / 0.894 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003958/0.03929, allocations: 139.8 kB / 0.8942 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.0393, allocations: 4.312 kB / 0.8942 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.03943, allocations: 61.77 kB / 0.8942 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.04004, allocations: 81.06 kB / 0.8943 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.04269, allocations: 1.229 MB / 0.8955 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.04291, allocations: 189.2 kB / 0.8957 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002783/0.04319, allocations: 80.53 kB / 0.8958 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.04335, allocations: 48.48 kB / 0.8958 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of SimCode: time 1.513e-06/0.04335, allocations: 0 / 0.8958 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of Templates: time 0.01406/0.0574, allocations: 5.747 MB / 0.9014 GB, free: 14.01 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.19452494289726]