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.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.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.001469/0.001469, allocations: 88.2 kB / 16.03 MB, free: 56 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.001701/0.001701, allocations: 187.8 kB / 16.93 MB, free: 6.891 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.34 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.594/2.594, allocations: 437.8 MB / 0.7128 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005123/0.0005123, allocations: 16 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6665/0.667, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002767/0.6698, allocations: 1.961 MB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.6715, allocations: 0.9335 MB / 1.027 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.6718, allocations: 4 kB / 1.027 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006862/0.6725, allocations: 185 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.6727, allocations: 59.62 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.6731, allocations: 87.83 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.6734, allocations: 215.1 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.6737, allocations: 85.69 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.6738, allocations: 71.53 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.674, allocations: 95.36 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.674, allocations: 8 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.6744, allocations: 135.8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.6746, allocations: 199.4 kB / 1.028 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.6749, allocations: 267.8 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.6755, allocations: 0.5532 MB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.6755, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6755, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.855e-05/0.6755, allocations: 0 / 1.028 GB, free: 11.02 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.001437/0.677, allocations: 0.878 MB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.677, allocations: 8.031 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.6777, allocations: 119.8 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009044/0.6786, allocations: 0.5934 MB / 1.03 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.6786, allocations: 16.31 kB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.6787, allocations: 12.38 kB / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.6791, allocations: 194.2 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6791, allocations: 4.188 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.6791, allocations: 3.938 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.6791, allocations: 7.984 kB / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.6796, allocations: 235.8 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.681, allocations: 0.9099 MB / 1.031 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.6817, allocations: 310.5 kB / 1.032 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.6819, allocations: 109 kB / 1.032 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009772/0.6829, allocations: 412.6 kB / 1.032 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.6829, allocations: 30.56 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.6829, allocations: 0 / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001039/0.684, allocations: 408.8 kB / 1.033 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.684, allocations: 55.41 kB / 1.033 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6855, allocations: 0.9935 MB / 1.034 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.6855, allocations: 29.7 kB / 1.034 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.6858, allocations: 336 kB / 1.034 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.6859, allocations: 31.55 kB / 1.034 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.6859, allocations: 21.72 kB / 1.034 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.686, allocations: 310 kB / 1.034 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.6863, allocations: 95.95 kB / 1.034 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.6865, allocations: 122.5 kB / 1.034 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.6869, allocations: 214.4 kB / 1.035 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6869, allocations: 0 / 1.035 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006408/0.6876, allocations: 332.5 kB / 1.035 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.6876, allocations: 9.5 kB / 1.035 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6876, allocations: 0 / 1.035 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.6876, allocations: 0 / 1.035 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.6878, allocations: 28.05 kB / 1.035 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6878, allocations: 0 / 1.035 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.688, allocations: 15.92 kB / 1.035 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.6881, allocations: 4 kB / 1.035 GB, free: 3.977 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.0003006/0.6884, allocations: 254.2 kB / 1.035 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.6885, allocations: 75 kB / 1.035 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.6891, allocations: 332.6 kB / 1.036 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.6892, allocations: 3.938 kB / 1.036 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6892, allocations: 0 / 1.036 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.6892, allocations: 3.984 kB / 1.036 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.6898, allocations: 0.5246 MB / 1.036 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.6898, allocations: 3.938 kB / 1.036 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.69, allocations: 23.98 kB / 1.036 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.69, allocations: 0 / 1.036 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.69, allocations: 0 / 1.036 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.69, allocations: 11.98 kB / 1.036 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.69, allocations: 0 / 1.036 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.6907, allocations: 398.5 kB / 1.037 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.6909, allocations: 184.1 kB / 1.037 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.6909, allocations: 4 kB / 1.037 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.6911, allocations: 7.984 kB / 1.037 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.6912, allocations: 11.98 kB / 1.037 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6912, allocations: 4 kB / 1.037 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009855/0.6922, allocations: 0.7137 MB / 1.037 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6922, allocations: 0 / 1.037 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004129/0.6926, allocations: 75.83 kB / 1.038 GB, free: 1.277 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.0002588/0.6929, allocations: 115.2 kB / 1.038 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.6934, allocations: 215.8 kB / 1.038 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6934, allocations: 0 / 1.038 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.6936, allocations: 112.1 kB / 1.038 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.6941, allocations: 55.8 kB / 1.038 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.6966, allocations: 1.41 MB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.6973, allocations: 0.9454 MB / 1.04 GB, free: 14.37 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.6974, allocations: 39.42 kB / 1.04 GB, free: 14.33 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/0.6974, allocations: 0 / 1.04 GB, free: 14.33 MB / 0.795 GB Notification: Performance of Templates: time 0.01369/0.7111, allocations: 7.226 MB / 1.047 GB, free: 7.125 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/jenkins1/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