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.00143/0.00143, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001698/0.001698, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.676/2.676, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7144, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004179/0.7186, allocations: 2.321 MB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.7203, allocations: 0.9413 MB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.7204, allocations: 11.88 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.7211, allocations: 184.9 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.7212, allocations: 55.64 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.7215, allocations: 91.89 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.7218, allocations: 215.1 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.722, allocations: 77.69 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.7222, allocations: 83.47 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.7223, allocations: 115.4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.7223, allocations: 12 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.7226, allocations: 139.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.7229, allocations: 199.4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.7232, allocations: 258 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009554/0.7241, allocations: 0.7003 MB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.7241, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7242, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.7242, allocations: 0 / 1.022 GB, free: 13.39 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.001508/0.7257, allocations: 0.9748 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.7257, allocations: 8.031 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.7263, allocations: 119.8 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.7272, allocations: 0.5934 MB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.7273, allocations: 8.375 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.7273, allocations: 12.38 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.7277, allocations: 198.1 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7277, allocations: 192 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.7277, allocations: 3.938 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.7277, allocations: 7.938 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.7282, allocations: 227.9 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.7294, allocations: 0.9178 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.7301, allocations: 314.5 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.7303, allocations: 112.8 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007734/0.7311, allocations: 240.9 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.7311, allocations: 30.56 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.7311, allocations: 0 / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.00087/0.732, allocations: 404.8 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.7321, allocations: 55.5 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.7336, allocations: 1.001 MB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.7336, allocations: 25.7 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.7339, allocations: 344 kB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.7339, allocations: 27.56 kB / 1.027 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.734, allocations: 33.61 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7342, allocations: 306 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.7344, allocations: 99.94 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.7346, allocations: 130.5 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.735, allocations: 214.5 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.735, allocations: 0 / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005183/0.7355, allocations: 316.6 kB / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7356, allocations: 12.05 kB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7356, allocations: 0 / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.7356, allocations: 4 kB / 1.028 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.7358, allocations: 23.98 kB / 1.028 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.7358, allocations: 4 kB / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.7359, allocations: 15.83 kB / 1.028 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.736, allocations: 4 kB / 1.028 GB, free: 6.406 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.0002886/0.7362, allocations: 254.2 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.7363, allocations: 78.98 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.737, allocations: 324.5 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.7371, allocations: 4.031 kB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.7371, allocations: 3.938 kB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7371, allocations: 0 / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.7377, allocations: 0.5285 MB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.7377, allocations: 3.938 kB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.7378, allocations: 27.98 kB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7379, allocations: 0 / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.7379, allocations: 4 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7379, allocations: 0 / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7379, allocations: 0 / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.7385, allocations: 402.5 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.7387, allocations: 188 kB / 1.03 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.7387, allocations: 4 kB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.7389, allocations: 7.984 kB / 1.03 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.739, allocations: 4 kB / 1.03 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.739, allocations: 7.984 kB / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008497/0.7398, allocations: 0.7176 MB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7398, allocations: 0 / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003516/0.7402, allocations: 64 kB / 1.031 GB, free: 3.715 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.0002579/0.7405, allocations: 119.2 kB / 1.031 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.7409, allocations: 216 kB / 1.031 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7409, allocations: 0 / 1.031 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.7411, allocations: 111.9 kB / 1.031 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.7416, allocations: 55.92 kB / 1.031 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.7433, allocations: 1.336 MB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.7438, allocations: 0.9415 MB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.7441, allocations: 93.25 kB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.7442, allocations: 31.44 kB / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.7442, allocations: 0 / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of Templates: time 0.009877/0.754, allocations: 4.221 MB / 1.038 GB, free: 12.55 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