Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 91.12 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.799/2.799, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 8 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7321, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.0044/0.7366, allocations: 2.297 MB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.7389, allocations: 0.9959 MB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.7391, allocations: 4 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.7398, allocations: 190.9 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.74, allocations: 63.56 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.7407, allocations: 131.8 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.7412, allocations: 347.8 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004349/0.7416, allocations: 166.6 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.7419, allocations: 103.4 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.7421, allocations: 147.1 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.7422, allocations: 12 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.7425, allocations: 139.8 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.7428, allocations: 219.3 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.7429, allocations: 149.1 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007844/0.7437, allocations: 0.7265 MB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.7437, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7437, allocations: 3.938 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.7437, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001438/0.7452, allocations: 1.012 MB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.7452, allocations: 12.56 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.7464, allocations: 266.5 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.7477, allocations: 0.7066 MB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.7478, allocations: 20.66 kB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.7478, allocations: 35.95 kB / 1.03 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007946/0.7486, allocations: 382 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.7486, allocations: 0 / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.7487, allocations: 16 kB / 1.03 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.7487, allocations: 8 kB / 1.03 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.7496, allocations: 430.3 kB / 1.031 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.7533, allocations: 2.127 MB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.7539, allocations: 228.6 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.7543, allocations: 100.8 kB / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.7543, allocations: 12.3 kB / 1.033 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.7543, allocations: 34.56 kB / 1.033 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.7544, allocations: 0 / 1.033 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001001/0.7554, allocations: 362.2 kB / 1.034 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.7554, allocations: 55.41 kB / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.7569, allocations: 1.243 MB / 1.035 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.757, allocations: 29.7 kB / 1.035 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.7573, allocations: 432.1 kB / 1.035 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.7574, allocations: 63.09 kB / 1.035 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.7574, allocations: 4 kB / 1.035 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7576, allocations: 317.9 kB / 1.036 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.7579, allocations: 151.8 kB / 1.036 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.7583, allocations: 197.8 kB / 1.036 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.7586, allocations: 154.4 kB / 1.036 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7586, allocations: 4 kB / 1.036 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008817/0.7595, allocations: 460.3 kB / 1.037 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.7596, allocations: 7.984 kB / 1.037 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.7596, allocations: 4 kB / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.7596, allocations: 0 / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.7599, allocations: 59.91 kB / 1.037 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.76, allocations: 4 kB / 1.037 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.7602, allocations: 39.67 kB / 1.037 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.7603, allocations: 15.98 kB / 1.037 GB, free: 1.152 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003322/0.7606, allocations: 273.6 kB / 1.037 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.7607, allocations: 82.88 kB / 1.037 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.7615, allocations: 325.9 kB / 1.037 GB, free: 472 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7616, allocations: 7.938 kB / 1.037 GB, free: 464 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.7616, allocations: 0 / 1.037 GB, free: 464 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.7616, allocations: 3.984 kB / 1.037 GB, free: 460 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.7633, allocations: 0.9919 MB / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7633, allocations: 0 / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.7635, allocations: 44.09 kB / 1.038 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.7636, allocations: 11.94 kB / 1.038 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.7636, allocations: 11.98 kB / 1.038 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.7636, allocations: 4 kB / 1.038 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7636, allocations: 3.938 kB / 1.038 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.7643, allocations: 433.2 kB / 1.039 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.7647, allocations: 211.9 kB / 1.039 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.7647, allocations: 11.98 kB / 1.039 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.765, allocations: 11.98 kB / 1.039 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.7651, allocations: 19.92 kB / 1.039 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.7651, allocations: 15.98 kB / 1.039 GB, free: 14.57 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001236/0.7663, allocations: 0.8989 MB / 1.04 GB, free: 13.66 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7663, allocations: 0 / 1.04 GB, free: 13.66 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004398/0.7668, allocations: 99.8 kB / 1.04 GB, free: 13.56 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002295/0.767, allocations: 119.2 kB / 1.04 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006592/0.7677, allocations: 275.7 kB / 1.04 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7677, allocations: 0 / 1.04 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.768, allocations: 108.1 kB / 1.04 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.7685, allocations: 63.44 kB / 1.041 GB, free: 13 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.7711, allocations: 1.555 MB / 1.042 GB, free: 11.39 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/0.7719, allocations: 0.9924 MB / 1.043 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003812/0.7723, allocations: 104.6 kB / 1.043 GB, free: 10.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.7725, allocations: 39.44 kB / 1.043 GB, free: 10.23 MB / 0.795 GB Notification: Performance of SimCode: time 8.82e-07/0.7725, allocations: 0 / 1.043 GB, free: 10.23 MB / 0.795 GB Notification: Performance of Templates: time 0.0117/0.7842, allocations: 5.09 MB / 1.048 GB, free: 5.156 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches