Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.7103 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 67.89 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8363/0.8379, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003798/0.8417, allocations: 2.251 MB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.8433, allocations: 0.9487 MB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.8434, allocations: 4 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.8441, allocations: 196.8 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.8442, allocations: 63.5 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.8446, allocations: 115.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.8448, allocations: 223 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.845, allocations: 93.67 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.8451, allocations: 79.59 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.8453, allocations: 103.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.8453, allocations: 16 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.8456, allocations: 151.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.8458, allocations: 211.4 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.846, allocations: 270 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006721/0.8467, allocations: 0.7081 MB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8467, allocations: 7.938 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8467, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.8467, allocations: 0 / 1.023 GB, free: 13.1 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001195/0.8479, allocations: 0.9786 MB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.848, allocations: 8.031 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005401/0.8485, allocations: 119.8 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.8492, allocations: 0.5934 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.8492, allocations: 8.375 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.8493, allocations: 12.38 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.8496, allocations: 194.7 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.8497, allocations: 8.172 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.8497, allocations: 7.938 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.8497, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.8502, allocations: 219.9 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.8513, allocations: 0.9216 MB / 1.026 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.852, allocations: 318.5 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.8522, allocations: 101 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007731/0.853, allocations: 248.9 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.853, allocations: 38.5 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.853, allocations: 0 / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0008293/0.8539, allocations: 400.5 kB / 1.027 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.8539, allocations: 55.41 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.855, allocations: 0.9935 MB / 1.028 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.8551, allocations: 33.64 kB / 1.028 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.8553, allocations: 336 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.8554, allocations: 31.55 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.8554, allocations: 29.7 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8556, allocations: 318 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.8558, allocations: 87.95 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.856, allocations: 122.5 kB / 1.029 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.8564, allocations: 218.8 kB / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8565, allocations: 0 / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005765/0.857, allocations: 328.5 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8571, allocations: 4 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8571, allocations: 3.938 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8571, allocations: 4 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.8573, allocations: 23.97 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.8573, allocations: 4 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.8575, allocations: 15.91 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.8575, allocations: 7.984 kB / 1.029 GB, free: 6.102 MB / 0.7794 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.0002422/0.8577, allocations: 247.3 kB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/0.8578, allocations: 75 kB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006514/0.8585, allocations: 332.4 kB / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8585, allocations: 0 / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8585, allocations: 4 kB / 1.03 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.8585, allocations: 4 kB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/0.8591, allocations: 0.5208 MB / 1.03 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.8591, allocations: 7.922 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.8592, allocations: 23.92 kB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8593, allocations: 3.938 kB / 1.03 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.8593, allocations: 4 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.8593, allocations: 0 / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8593, allocations: 0 / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.8599, allocations: 414.5 kB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.8601, allocations: 184 kB / 1.031 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.8601, allocations: 4 kB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.8603, allocations: 19.98 kB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.8604, allocations: 4 kB / 1.031 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.8604, allocations: 0 / 1.031 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008202/0.8612, allocations: 0.7176 MB / 1.032 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8612, allocations: 0 / 1.032 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00035/0.8616, allocations: 64 kB / 1.032 GB, free: 3.406 MB / 0.7794 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.0001999/0.8618, allocations: 115.2 kB / 1.032 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.8623, allocations: 223.8 kB / 1.032 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8623, allocations: 0 / 1.032 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.8625, allocations: 104 kB / 1.032 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.863, allocations: 55.38 kB / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.8646, allocations: 1.178 MB / 1.033 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.8652, allocations: 0.946 MB / 1.034 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.8654, allocations: 77.33 kB / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.8655, allocations: 31.44 kB / 1.034 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8655, allocations: 0 / 1.034 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of Templates: time 0.009617/0.8751, allocations: 4.401 MB / 1.039 GB, free: 12.23 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches