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.001796/0.001796, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.002294/0.002294, allocations: 170 kB / 23.27 MB, free: 1.223 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.141/1.141, allocations: 177.1 MB / 203.7 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.66/2.66, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.605e-06/2.605e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.945e-05/4.206e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00355/0.003592, allocations: 2.255 MB / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.005018, allocations: 0.9017 MB / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.005141, allocations: 7.938 kB / 0.8929 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006007/0.005742, allocations: 175.1 kB / 0.893 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.005861, allocations: 79.38 kB / 0.8931 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.006302, allocations: 115.7 kB / 0.8932 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.006545, allocations: 231 kB / 0.8934 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.00673, allocations: 61.98 kB / 0.8935 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.006887, allocations: 127.6 kB / 0.8936 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.006969, allocations: 71.73 kB / 0.8937 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.006999, allocations: 16 kB / 0.8937 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.007263, allocations: 135.8 kB / 0.8938 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.007436, allocations: 211.4 kB / 0.894 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.00755, allocations: 139.5 kB / 0.8942 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.00806, allocations: 477.8 kB / 0.8946 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.008067, allocations: 3.984 kB / 0.8946 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.553e-06/0.008068, allocations: 4 kB / 0.8946 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.008076, allocations: 0 / 0.8946 GB, free: 4.715 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00102/0.009096, allocations: 1.034 MB / 0.8956 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.009155, allocations: 8.625 kB / 0.8956 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.009551, allocations: 132.2 kB / 0.8958 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.009948, allocations: 416.8 kB / 0.8962 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.009975, allocations: 12.38 kB / 0.8962 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.009993, allocations: 12.38 kB / 0.8962 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.01025, allocations: 126.8 kB / 0.8963 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.01027, allocations: 4.188 kB / 0.8963 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.01028, allocations: 4.375 kB / 0.8963 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01029, allocations: 4.375 kB / 0.8963 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/0.01037, allocations: 44.91 kB / 0.8964 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.01114, allocations: 0.5699 MB / 0.8969 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.01138, allocations: 86.92 kB / 0.897 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.391e-05/0.01143, allocations: 27.81 kB / 0.897 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003747/0.0118, allocations: 147.5 kB / 0.8972 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.01183, allocations: 33.39 kB / 0.8972 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.01183, allocations: 0 / 0.8972 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003098/0.01214, allocations: 165.1 kB / 0.8974 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.01219, allocations: 55.34 kB / 0.8974 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.01286, allocations: 0.8349 MB / 0.8982 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.01288, allocations: 29.7 kB / 0.8983 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.0132, allocations: 450.7 kB / 0.8987 GB, free: 384 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.01323, allocations: 35.72 kB / 0.8987 GB, free: 348 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.01329, allocations: 31.31 kB / 0.8987 GB, free: 308 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.01348, allocations: 496.3 kB / 0.8992 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.01352, allocations: 19.98 kB / 0.8992 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.01357, allocations: 39.05 kB / 0.8993 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.01366, allocations: 62.98 kB / 0.8993 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01366, allocations: 0 / 0.8993 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001919/0.01385, allocations: 165.1 kB / 0.8995 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01387, allocations: 4 kB / 0.8995 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01388, allocations: 0 / 0.8995 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01389, allocations: 0 / 0.8995 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.014, allocations: 27.92 kB / 0.8995 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01401, allocations: 7.922 kB / 0.8995 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.01408, allocations: 11.94 kB / 0.8995 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01409, allocations: 4 kB / 0.8995 GB, free: 15.44 MB / 0.8698 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.0001452/0.01424, allocations: 160.6 kB / 0.8997 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.0143, allocations: 83.48 kB / 0.8998 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.01455, allocations: 148.6 kB / 0.8999 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01455, allocations: 0 / 0.8999 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.01456, allocations: 7.922 kB / 0.8999 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01456, allocations: 4 kB / 0.8999 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.01491, allocations: 316.9 kB / 0.9002 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.01491, allocations: 3.984 kB / 0.9002 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.015, allocations: 23.98 kB / 0.9003 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.015, allocations: 0 / 0.9003 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.01501, allocations: 0 / 0.9003 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.01501, allocations: 11.92 kB / 0.9003 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01502, allocations: 4 kB / 0.9003 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.01528, allocations: 299.8 kB / 0.9006 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.01539, allocations: 95.44 kB / 0.9007 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.01542, allocations: 7.938 kB / 0.9007 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.0155, allocations: 7.984 kB / 0.9007 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.01554, allocations: 4 kB / 0.9007 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01554, allocations: 3.984 kB / 0.9007 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003501/0.01589, allocations: 0.4987 MB / 0.9012 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/0.01589, allocations: 4 kB / 0.9012 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002512/0.01615, allocations: 71.83 kB / 0.9012 GB, free: 13.65 MB / 0.8698 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.00022/0.01637, allocations: 111.2 kB / 0.9013 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.01654, allocations: 51.59 kB / 0.9014 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01654, allocations: 4 kB / 0.9014 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.808e-05/0.0166, allocations: 35.59 kB / 0.9014 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.01702, allocations: 59.42 kB / 0.9015 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.01848, allocations: 0.9646 MB / 0.9024 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.01861, allocations: 177.2 kB / 0.9026 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.01873, allocations: 61.33 kB / 0.9027 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.01887, allocations: 122.2 kB / 0.9028 GB, free: 12 MB / 0.8698 GB Notification: Performance of SimCode: time 8.22e-07/0.01887, allocations: 0 / 0.9028 GB, free: 12 MB / 0.8698 GB Notification: Performance of Templates: time 0.01019/0.02905, allocations: 4.844 MB / 0.9075 GB, free: 7.254 MB / 0.8698 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: 6.139433473814279]