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.0009201/0.0009201, allocations: 93.06 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.0009835/0.0009835, allocations: 173.3 kB / 23.03 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.9485/0.9485, allocations: 177.2 MB / 203.4 MB, free: 5.645 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.075/2.075, allocations: 429.5 MB / 0.6732 GB, free: 4.016 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 2.234e-06/2.234e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.931e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003145/0.003174, allocations: 2.29 MB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.004633, allocations: 0.9176 MB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.004757, allocations: 4 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.005385, allocations: 179.7 kB / 0.8815 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.00552, allocations: 69.28 kB / 0.8816 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.006023, allocations: 119.6 kB / 0.8817 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.006298, allocations: 225 kB / 0.8819 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.006497, allocations: 73.95 kB / 0.882 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.006665, allocations: 131.6 kB / 0.8821 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.006766, allocations: 67.73 kB / 0.8822 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.006799, allocations: 16 kB / 0.8822 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.007082, allocations: 136.6 kB / 0.8823 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.007259, allocations: 207.4 kB / 0.8825 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.007386, allocations: 141.1 kB / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.007916, allocations: 473.9 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.00792, allocations: 0 / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.12e-07/0.007921, allocations: 0 / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.007931, allocations: 1.188 kB / 0.8831 GB, free: 1.285 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.001123/0.009055, allocations: 1.038 MB / 0.8841 GB, free: 208 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.00911, allocations: 8.031 kB / 0.8841 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/0.009527, allocations: 132.3 kB / 0.8842 GB, free: 68 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.01004, allocations: 444.8 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.01007, allocations: 8.375 kB / 0.8847 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.01009, allocations: 12.38 kB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.01034, allocations: 127.9 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01035, allocations: 192 / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.01037, allocations: 4.375 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.01039, allocations: 4.375 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.0105, allocations: 68.34 kB / 0.8849 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009223/0.01142, allocations: 0.7217 MB / 0.8856 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.01169, allocations: 95.06 kB / 0.8857 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.01174, allocations: 31.75 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003955/0.01214, allocations: 159.9 kB / 0.8859 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.01216, allocations: 37.39 kB / 0.8859 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.01217, allocations: 0 / 0.8859 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003329/0.0125, allocations: 177 kB / 0.8861 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.01254, allocations: 59.39 kB / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.01331, allocations: 0.8666 MB / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.01333, allocations: 25.7 kB / 0.887 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.01361, allocations: 434.8 kB / 0.8874 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.01364, allocations: 31.73 kB / 0.8874 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.01369, allocations: 27.38 kB / 0.8875 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.01384, allocations: 492.4 kB / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.01389, allocations: 19.98 kB / 0.8879 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.01395, allocations: 47.05 kB / 0.888 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/0.01404, allocations: 67.38 kB / 0.8881 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.01405, allocations: 0 / 0.8881 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002062/0.01425, allocations: 181 kB / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.01427, allocations: 6.344 kB / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01428, allocations: 0 / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.0143, allocations: 7.938 kB / 0.8882 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.01439, allocations: 19.98 kB / 0.8883 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.0144, allocations: 0 / 0.8883 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.01447, allocations: 19.94 kB / 0.8883 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.01448, allocations: 4 kB / 0.8883 GB, free: 11.73 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 0.0001193/0.0146, allocations: 172.5 kB / 0.8884 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.01466, allocations: 75.48 kB / 0.8885 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.0149, allocations: 160.6 kB / 0.8887 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.0149, allocations: 11.92 kB / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01491, allocations: 0 / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01491, allocations: 0 / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.0153, allocations: 440.3 kB / 0.8891 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.01531, allocations: 7.984 kB / 0.8891 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.01537, allocations: 12 kB / 0.8891 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.01537, allocations: 3.984 kB / 0.8891 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01538, allocations: 4 kB / 0.8891 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01538, allocations: 0 / 0.8891 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.01539, allocations: 7.938 kB / 0.8891 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.01562, allocations: 303.3 kB / 0.8894 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.01574, allocations: 103.5 kB / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.01577, allocations: 3.984 kB / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.01584, allocations: 8 kB / 0.8895 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.01589, allocations: 11.92 kB / 0.8895 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.0159, allocations: 0 / 0.8895 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004557/0.01635, allocations: 0.5341 MB / 0.8901 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01635, allocations: 4 kB / 0.8901 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002654/0.01662, allocations: 75.88 kB / 0.8901 GB, free: 9.75 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.0001883/0.01681, allocations: 107.1 kB / 0.8902 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.01698, allocations: 67.59 kB / 0.8903 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01698, allocations: 4 kB / 0.8903 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.01704, allocations: 31.67 kB / 0.8903 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.01735, allocations: 63.58 kB / 0.8904 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.01872, allocations: 0.9762 MB / 0.8914 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.01886, allocations: 173.2 kB / 0.8915 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.01899, allocations: 69.25 kB / 0.8916 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.01907, allocations: 32.5 kB / 0.8916 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/0.01907, allocations: 0 / 0.8916 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of Templates: time 0.01002/0.02908, allocations: 4.767 MB / 0.8963 GB, free: 3.43 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.847172582987696]