Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001528/0.001528, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.002292/0.002292, allocations: 161 kB / 23.82 MB, free: 0.75 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.01/1.01, allocations: 177.2 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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 1.848/1.848, allocations: 377.9 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] 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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.652e-05, allocations: 9.484 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002673/0.002699, allocations: 2.286 MB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.00381, allocations: 0.9251 MB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.944e-05/0.00391, allocations: 4 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.004369, allocations: 179.2 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.004477, allocations: 76.31 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.004806, allocations: 120.8 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.005029, allocations: 227 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.005173, allocations: 58.8 kB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.005304, allocations: 127.6 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.005376, allocations: 64.47 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.005401, allocations: 17.28 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.005631, allocations: 151.7 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.005761, allocations: 215.3 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.859e-05/0.005859, allocations: 135.5 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.00628, allocations: 479.8 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.006283, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006284, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.006291, allocations: 0 / 0.8165 GB, free: 12.67 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008635/0.007155, allocations: 1.048 MB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.007191, allocations: 8.031 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.007505, allocations: 127.8 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.00789, allocations: 440.8 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.007912, allocations: 8.375 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.007926, allocations: 8.375 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.008141, allocations: 126.9 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.00815, allocations: 192 / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.008163, allocations: 5.094 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.008172, allocations: 4.375 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.883e-05/0.008271, allocations: 60.95 kB / 0.8183 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.008992, allocations: 0.7182 MB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.009204, allocations: 96.53 kB / 0.819 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.009246, allocations: 28.89 kB / 0.8191 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/0.009588, allocations: 161 kB / 0.8192 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.009613, allocations: 38.52 kB / 0.8193 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.009614, allocations: 0 / 0.8193 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002633/0.009878, allocations: 178.1 kB / 0.8194 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.009909, allocations: 56.34 kB / 0.8195 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006757/0.01059, allocations: 0.8666 MB / 0.8203 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.0106, allocations: 25.7 kB / 0.8204 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.01084, allocations: 439.3 kB / 0.8208 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.01086, allocations: 32.2 kB / 0.8208 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.01091, allocations: 31.36 kB / 0.8208 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01101, allocations: 488.9 kB / 0.8213 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.01105, allocations: 21.45 kB / 0.8213 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.0111, allocations: 46.98 kB / 0.8214 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.631e-05/0.01119, allocations: 72.33 kB / 0.8214 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01119, allocations: 1.094 kB / 0.8214 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001797/0.01137, allocations: 173.2 kB / 0.8216 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01138, allocations: 4 kB / 0.8216 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01139, allocations: 4 kB / 0.8216 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.0114, allocations: 3.938 kB / 0.8216 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.01149, allocations: 27.92 kB / 0.8216 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.01149, allocations: 4 kB / 0.8216 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.01155, allocations: 4 kB / 0.8216 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.01156, allocations: 0 / 0.8216 GB, free: 7.16 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.432e-05/0.01166, allocations: 161.1 kB / 0.8218 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.01171, allocations: 84.06 kB / 0.8219 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.01192, allocations: 162.3 kB / 0.822 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01193, allocations: 7.938 kB / 0.822 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01193, allocations: 0 / 0.822 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01193, allocations: 0 / 0.822 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.01227, allocations: 448.3 kB / 0.8225 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01227, allocations: 0 / 0.8225 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.01234, allocations: 23.92 kB / 0.8225 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01234, allocations: 0 / 0.8225 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01235, allocations: 8 kB / 0.8225 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01235, allocations: 0 / 0.8225 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.01236, allocations: 3.938 kB / 0.8225 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.01255, allocations: 303.9 kB / 0.8228 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.01265, allocations: 103.4 kB / 0.8229 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.01268, allocations: 4 kB / 0.8229 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.01275, allocations: 7.938 kB / 0.8229 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.01279, allocations: 15.92 kB / 0.8229 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.01279, allocations: 0 / 0.8229 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004064/0.0132, allocations: 0.5379 MB / 0.8234 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0132, allocations: 0 / 0.8234 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000229/0.01343, allocations: 67.94 kB / 0.8235 GB, free: 5.188 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001458/0.01357, allocations: 115.2 kB / 0.8236 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.01372, allocations: 67.69 kB / 0.8237 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01372, allocations: 4.125 kB / 0.8237 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.01377, allocations: 43.73 kB / 0.8237 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.01405, allocations: 55.3 kB / 0.8238 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.01514, allocations: 0.9648 MB / 0.8247 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.01524, allocations: 185 kB / 0.8249 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.01535, allocations: 69.31 kB / 0.825 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.01541, allocations: 32.5 kB / 0.825 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.01542, allocations: 0 / 0.825 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of Templates: time 0.00851/0.02393, allocations: 4.788 MB / 0.8297 GB, free: 14.84 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.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: 5.092332334723324]