Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 184.2 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008488/0.0008487, allocations: 102.1 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 10.62 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2229, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/0.4079, allocations: 134.7 MB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4082, allocations: 91.94 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02386/0.4321, allocations: 9.932 MB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.604e-06/0.4321, allocations: 0 / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.4322, allocations: 8 kB / 1.041 GB, free: 14.91 MB / 0.698 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.001174/0.4333, allocations: 0.901 MB / 1.042 GB, free: 13.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4334, allocations: 12.02 kB / 1.042 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000505/0.4339, allocations: 111 kB / 1.042 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.4346, allocations: 0.5266 MB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4346, allocations: 12 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.4347, allocations: 8 kB / 1.043 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.4352, allocations: 245.5 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4352, allocations: 0 / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.4352, allocations: 4 kB / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4352, allocations: 8 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000647/0.4359, allocations: 299.8 kB / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.4374, allocations: 0.9722 MB / 1.044 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.4382, allocations: 406.5 kB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000708/0.4389, allocations: 336.8 kB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.439, allocations: 34.55 kB / 1.045 GB, free: 10.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.439, allocations: 0 / 1.045 GB, free: 10.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.00113/0.4401, allocations: 0.512 MB / 1.046 GB, free: 10.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.4402, allocations: 55.41 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.4413, allocations: 0.903 MB / 1.047 GB, free: 9.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.4413, allocations: 29.7 kB / 1.047 GB, free: 9.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.4416, allocations: 343.9 kB / 1.047 GB, free: 9.004 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4417, allocations: 31.55 kB / 1.047 GB, free: 8.973 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.4417, allocations: 4 kB / 1.047 GB, free: 8.969 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4419, allocations: 310.6 kB / 1.047 GB, free: 8.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.4421, allocations: 139.9 kB / 1.047 GB, free: 8.523 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.4424, allocations: 131.9 kB / 1.048 GB, free: 8.395 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.4427, allocations: 139.9 kB / 1.048 GB, free: 8.258 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4427, allocations: 3.938 kB / 1.048 GB, free: 8.254 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007092/0.4434, allocations: 385.1 kB / 1.048 GB, free: 7.871 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4435, allocations: 4 kB / 1.048 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4435, allocations: 0 / 1.048 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4435, allocations: 4 kB / 1.048 GB, free: 7.863 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.4437, allocations: 35.91 kB / 1.048 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4437, allocations: 0 / 1.048 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.4439, allocations: 27.92 kB / 1.048 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.444, allocations: 11.94 kB / 1.048 GB, free: 7.789 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002609/0.4442, allocations: 253.7 kB / 1.048 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.4443, allocations: 75.06 kB / 1.048 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009033/0.4452, allocations: 456.4 kB / 1.049 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4452, allocations: 0 / 1.049 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4453, allocations: 0 / 1.049 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4453, allocations: 3.984 kB / 1.049 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.4459, allocations: 0.5518 MB / 1.049 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4459, allocations: 0 / 1.049 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.4461, allocations: 35.97 kB / 1.049 GB, free: 6.363 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4461, allocations: 0 / 1.049 GB, free: 6.363 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.4461, allocations: 8 kB / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4461, allocations: 0 / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4461, allocations: 0 / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.4469, allocations: 490.3 kB / 1.05 GB, free: 5.859 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.4472, allocations: 204 kB / 1.05 GB, free: 5.641 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.4473, allocations: 8 kB / 1.05 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.4475, allocations: 15.98 kB / 1.05 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.4476, allocations: 12.11 kB / 1.05 GB, free: 5.605 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.4476, allocations: 12 kB / 1.05 GB, free: 5.594 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000831/0.4484, allocations: 0.7292 MB / 1.051 GB, free: 4.867 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4484, allocations: 0 / 1.051 GB, free: 4.867 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003758/0.4488, allocations: 72 kB / 1.051 GB, free: 4.797 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002881/0.4491, allocations: 148.2 kB / 1.051 GB, free: 4.641 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.4496, allocations: 247.8 kB / 1.051 GB, free: 4.398 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4497, allocations: 0 / 1.051 GB, free: 4.398 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.4499, allocations: 123.9 kB / 1.051 GB, free: 4.277 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.4502, allocations: 51.27 kB / 1.052 GB, free: 4.227 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.452, allocations: 1.287 MB / 1.053 GB, free: 2.906 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.4526, allocations: 0.952 MB / 1.054 GB, free: 1.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002065/0.4528, allocations: 81.66 kB / 1.054 GB, free: 1.852 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.4529, allocations: 31.44 kB / 1.054 GB, free: 1.82 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.4529, allocations: 0 / 1.054 GB, free: 1.82 MB / 0.698 GB Notification: Performance of Templates: time 0.4029/0.8558, allocations: 4.934 MB / 1.059 GB, free: 148.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches