Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001322/0.001322, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001188/0.001188, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9914/0.9914, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.115/2.115, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.224e-05, allocations: 6.297 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003156/0.003179, allocations: 2.262 MB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004366, allocations: 0.9044 MB / 0.8825 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.00448, allocations: 9.531 kB / 0.8825 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.004924, allocations: 179.7 kB / 0.8827 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.00503, allocations: 79 kB / 0.8828 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.005369, allocations: 111.7 kB / 0.8829 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.005587, allocations: 227 kB / 0.8831 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.005733, allocations: 65.97 kB / 0.8832 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.00587, allocations: 135.6 kB / 0.8833 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.005944, allocations: 63.75 kB / 0.8833 GB, free: 2 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.00597, allocations: 16 kB / 0.8834 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.006174, allocations: 135.8 kB / 0.8835 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.006312, allocations: 215.3 kB / 0.8837 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.783e-05/0.0064, allocations: 135.5 kB / 0.8838 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.006775, allocations: 477.9 kB / 0.8843 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006779, allocations: 3.938 kB / 0.8843 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00678, allocations: 4 kB / 0.8843 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.006785, allocations: 0 / 0.8843 GB, free: 1.031 MB / 0.8386 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.0007939/0.007579, allocations: 1.034 MB / 0.8853 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.007615, allocations: 8.031 kB / 0.8853 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.007928, allocations: 136.2 kB / 0.8854 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.008276, allocations: 416.8 kB / 0.8858 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.008299, allocations: 12.38 kB / 0.8858 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.008315, allocations: 8.375 kB / 0.8859 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.008521, allocations: 115.8 kB / 0.886 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.00853, allocations: 192 / 0.886 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.008544, allocations: 8.375 kB / 0.886 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.008551, allocations: 4.375 kB / 0.886 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.008624, allocations: 48.41 kB / 0.886 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.009271, allocations: 0.5739 MB / 0.8866 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.009452, allocations: 87.11 kB / 0.8867 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.009485, allocations: 23.69 kB / 0.8867 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.0098, allocations: 151.9 kB / 0.8868 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.009822, allocations: 33.39 kB / 0.8869 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.009823, allocations: 0 / 0.8869 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0002206/0.01004, allocations: 161.1 kB / 0.887 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.01008, allocations: 59.34 kB / 0.8871 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.01063, allocations: 0.8272 MB / 0.8879 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.01064, allocations: 25.7 kB / 0.8879 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.01089, allocations: 462.6 kB / 0.8883 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.01091, allocations: 35.72 kB / 0.8884 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.01095, allocations: 31.38 kB / 0.8884 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003746/0.01133, allocations: 0.4886 MB / 0.8889 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.01136, allocations: 15.98 kB / 0.8889 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.0114, allocations: 39.05 kB / 0.8889 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.977e-05/0.01147, allocations: 63.36 kB / 0.889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01147, allocations: 4 kB / 0.889 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001601/0.01163, allocations: 165 kB / 0.8892 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.01164, allocations: 4 kB / 0.8892 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.01165, allocations: 0 / 0.8892 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.01166, allocations: 4 kB / 0.8892 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.01174, allocations: 23.92 kB / 0.8892 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.01174, allocations: 3.938 kB / 0.8892 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.01181, allocations: 16 kB / 0.8892 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.01182, allocations: 4 kB / 0.8892 GB, free: 11.75 MB / 0.8542 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.17e-05/0.01191, allocations: 160.6 kB / 0.8894 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.01197, allocations: 75.48 kB / 0.8894 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.01216, allocations: 152.6 kB / 0.8896 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01216, allocations: 0 / 0.8896 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01216, allocations: 7.938 kB / 0.8896 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01217, allocations: 3.984 kB / 0.8896 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.01242, allocations: 312.9 kB / 0.8899 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.01242, allocations: 4 kB / 0.8899 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.01248, allocations: 23.98 kB / 0.8899 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.01249, allocations: 4 kB / 0.8899 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.01249, allocations: 0 / 0.8899 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.0125, allocations: 11.92 kB / 0.8899 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0125, allocations: 0 / 0.8899 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.01268, allocations: 295.3 kB / 0.8902 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.01278, allocations: 95.44 kB / 0.8903 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.0128, allocations: 3.938 kB / 0.8903 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.01288, allocations: 11.98 kB / 0.8903 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.0129, allocations: 8 kB / 0.8903 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.01291, allocations: 3.984 kB / 0.8903 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003109/0.01322, allocations: 0.4987 MB / 0.8908 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01322, allocations: 0 / 0.8908 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002226/0.01344, allocations: 71.83 kB / 0.8909 GB, free: 9.973 MB / 0.8542 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.0001322/0.01358, allocations: 111.2 kB / 0.891 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.01368, allocations: 55.59 kB / 0.8911 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01368, allocations: 8.125 kB / 0.8911 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.01372, allocations: 31.61 kB / 0.8911 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.01399, allocations: 56.67 kB / 0.8911 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.01502, allocations: 0.9646 MB / 0.8921 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.01513, allocations: 173.2 kB / 0.8923 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.01525, allocations: 65.33 kB / 0.8923 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.01536, allocations: 122.2 kB / 0.8924 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/0.01536, allocations: 0 / 0.8924 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.008644/0.02401, allocations: 4.96 MB / 0.8973 GB, free: 3.398 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.508481048978865]