Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 108 kB / 15.61 MB, free: 152 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.001379/0.001379, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5039, allocations: 140.4 MB / 0.9497 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002746/0.5066, allocations: 2.245 MB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.5076, allocations: 0.9476 MB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.5077, allocations: 1.688 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.5081, allocations: 199.6 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.5083, allocations: 66.94 kB / 0.9531 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.5085, allocations: 111 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.5087, allocations: 222.1 kB / 0.9534 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.5089, allocations: 99.05 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.509, allocations: 80.97 kB / 0.9536 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.5091, allocations: 100.3 kB / 0.9537 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.5091, allocations: 17.03 kB / 0.9537 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.5094, allocations: 152 kB / 0.9538 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.5095, allocations: 210.7 kB / 0.954 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.5096, allocations: 269.9 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.5101, allocations: 0.7054 MB / 0.955 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5101, allocations: 0 / 0.955 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5101, allocations: 4.844 kB / 0.955 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.5101, allocations: 0 / 0.955 GB, free: 5.008 MB / 0.7169 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.0008964/0.511, allocations: 0.9754 MB / 0.9559 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5111, allocations: 10.19 kB / 0.956 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.5111, allocations: 46.08 kB / 0.956 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004919/0.5116, allocations: 124.5 kB / 0.9561 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.5122, allocations: 0.5887 MB / 0.9567 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.5122, allocations: 9.344 kB / 0.9567 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.5122, allocations: 12.09 kB / 0.9567 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.5125, allocations: 199.2 kB / 0.9569 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5126, allocations: 3.938 kB / 0.9569 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.5126, allocations: 1.656 kB / 0.9569 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5126, allocations: 7.141 kB / 0.9569 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.513, allocations: 227 kB / 0.9571 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.5138, allocations: 0.9256 MB / 0.958 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.5144, allocations: 310.5 kB / 0.9583 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.5146, allocations: 113.8 kB / 0.9584 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/0.5152, allocations: 235.4 kB / 0.9587 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.112e-05/0.5152, allocations: 34.56 kB / 0.9587 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.5152, allocations: 1.375 kB / 0.9587 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000699/0.5159, allocations: 405.2 kB / 0.9591 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.516, allocations: 56.28 kB / 0.9591 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009365/0.5169, allocations: 0.9957 MB / 0.9601 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.5169, allocations: 26.61 kB / 0.9601 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.5171, allocations: 343.5 kB / 0.9605 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.5172, allocations: 35.8 kB / 0.9605 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.5172, allocations: 29.27 kB / 0.9605 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.099e-05/0.5172, allocations: 307 kB / 0.9608 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.5174, allocations: 95.61 kB / 0.9609 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.5176, allocations: 128.7 kB / 0.961 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.518, allocations: 216.6 kB / 0.9612 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.518, allocations: 4 kB / 0.9612 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004636/0.5185, allocations: 318.3 kB / 0.9615 GB, free: 456 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5185, allocations: 5.406 kB / 0.9616 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5185, allocations: 0 / 0.9616 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.5185, allocations: 2.25 kB / 0.9616 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.5187, allocations: 37.91 kB / 0.9616 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5187, allocations: 2.156 kB / 0.9616 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.5188, allocations: 12.53 kB / 0.9616 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.5188, allocations: 11.31 kB / 0.9616 GB, free: 420 kB / 0.7169 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.000179/0.519, allocations: 246.3 kB / 0.9618 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.5191, allocations: 75.41 kB / 0.9619 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/0.5196, allocations: 331.9 kB / 0.9622 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5196, allocations: 2.125 kB / 0.9622 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5196, allocations: 0 / 0.9622 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5196, allocations: 0 / 0.9622 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.5202, allocations: 0.52 MB / 0.9627 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5202, allocations: 0 / 0.9627 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.5203, allocations: 31.94 kB / 0.9628 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5203, allocations: 1.156 kB / 0.9628 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5203, allocations: 5.125 kB / 0.9628 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5204, allocations: 0 / 0.9628 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5204, allocations: 1.156 kB / 0.9628 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.5209, allocations: 402.8 kB / 0.9632 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.5211, allocations: 188.9 kB / 0.9633 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.5211, allocations: 5.062 kB / 0.9634 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.5213, allocations: 12.11 kB / 0.9634 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.5214, allocations: 11.14 kB / 0.9634 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.5214, allocations: 6.188 kB / 0.9634 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007754/0.5221, allocations: 0.7186 MB / 0.9641 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5222, allocations: 1.125 kB / 0.9641 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003234/0.5225, allocations: 67.28 kB / 0.9641 GB, free: 14.73 MB / 0.7325 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.0008181/0.5233, allocations: 0.9583 MB / 0.9651 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.5238, allocations: 213.1 kB / 0.9653 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5238, allocations: 0 / 0.9653 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.524, allocations: 116 kB / 0.9654 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.5244, allocations: 48.84 kB / 0.9654 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007346/0.5317, allocations: 6.658 MB / 0.9719 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.5322, allocations: 0.9457 MB / 0.9729 GB, free: 9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.5324, allocations: 74.2 kB / 0.9729 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.5327, allocations: 216.2 kB / 0.9731 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5327, allocations: 0 / 0.9731 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2236/0.7563, allocations: 11.6 MB / 0.9845 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.441/10.2, allocations: 9.406 kB / 0.9845 GB, free: 13.88 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches