Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008138/0.0008138, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9085/0.9085, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.812e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002313/0.002331, allocations: 2.183 MB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003397, allocations: 0.8774 MB / 0.9535 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.003473, allocations: 4 kB / 0.9535 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.003857, allocations: 174.9 kB / 0.9537 GB, free: 236 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.003941, allocations: 79.38 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.00423, allocations: 115.7 kB / 0.9538 GB, free: 40 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.004432, allocations: 227.1 kB / 0.9541 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.004564, allocations: 58.05 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.004669, allocations: 131.6 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.004745, allocations: 67.75 kB / 0.9543 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.004768, allocations: 16 kB / 0.9543 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.004966, allocations: 143.8 kB / 0.9545 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.00509, allocations: 215.3 kB / 0.9547 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.005175, allocations: 147.4 kB / 0.9548 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.005654, allocations: 0.7083 MB / 0.9555 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005656, allocations: 0 / 0.9555 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005657, allocations: 0 / 0.9555 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.005663, allocations: 0 / 0.9555 GB, free: 14.34 MB / 0.9167 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.0007831/0.006446, allocations: 0.9147 MB / 0.9564 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.006483, allocations: 12.03 kB / 0.9564 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.00652, allocations: 46.73 kB / 0.9565 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.006811, allocations: 128.3 kB / 0.9566 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.007294, allocations: 0.5409 MB / 0.9571 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.007308, allocations: 12.38 kB / 0.9571 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.007334, allocations: 16.36 kB / 0.9571 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.007633, allocations: 190.2 kB / 0.9573 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00764, allocations: 4.125 kB / 0.9573 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.007653, allocations: 4.375 kB / 0.9573 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.00766, allocations: 8.125 kB / 0.9573 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.007915, allocations: 228.4 kB / 0.9575 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007703/0.008686, allocations: 0.8117 MB / 0.9583 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.009081, allocations: 306.4 kB / 0.9586 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.0092, allocations: 109 kB / 0.9587 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003642/0.009564, allocations: 159.9 kB / 0.9589 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.009579, allocations: 30.56 kB / 0.9589 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.00958, allocations: 0 / 0.9589 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0004745/0.01005, allocations: 408.9 kB / 0.9593 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.01008, allocations: 59.39 kB / 0.9594 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.01098, allocations: 1.001 MB / 0.9603 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.01099, allocations: 25.7 kB / 0.9604 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.01118, allocations: 340.2 kB / 0.9607 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.0112, allocations: 35.72 kB / 0.9607 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.01124, allocations: 25.72 kB / 0.9607 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.01131, allocations: 318.3 kB / 0.9611 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.01142, allocations: 99.95 kB / 0.9611 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01153, allocations: 122.4 kB / 0.9613 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.01176, allocations: 222.4 kB / 0.9615 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01176, allocations: 0 / 0.9615 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000304/0.01206, allocations: 325 kB / 0.9618 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01208, allocations: 11.94 kB / 0.9618 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01209, allocations: 0 / 0.9618 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.0121, allocations: 0 / 0.9618 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.01218, allocations: 23.98 kB / 0.9618 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.01219, allocations: 0 / 0.9618 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.01227, allocations: 23.88 kB / 0.9618 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.01227, allocations: 3.938 kB / 0.9618 GB, free: 7.617 MB / 0.9167 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.0001692/0.01244, allocations: 253.8 kB / 0.9621 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.0125, allocations: 75.48 kB / 0.9622 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.01287, allocations: 328.5 kB / 0.9625 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01287, allocations: 0 / 0.9625 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01287, allocations: 3.984 kB / 0.9625 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01288, allocations: 0 / 0.9625 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.0132, allocations: 452.5 kB / 0.9629 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0132, allocations: 0 / 0.9629 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.01327, allocations: 23.98 kB / 0.9629 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01327, allocations: 0 / 0.9629 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01328, allocations: 11.94 kB / 0.9629 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.01328, allocations: 192 / 0.9629 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01328, allocations: 0 / 0.9629 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.0136, allocations: 406.8 kB / 0.9633 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.01371, allocations: 115.4 kB / 0.9634 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.01374, allocations: 7.938 kB / 0.9634 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.01382, allocations: 11.92 kB / 0.9635 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.01386, allocations: 4 kB / 0.9635 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01386, allocations: 3.984 kB / 0.9635 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000555/0.01442, allocations: 0.7176 MB / 0.9642 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01442, allocations: 4 kB / 0.9642 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002286/0.01465, allocations: 71.83 kB / 0.9642 GB, free: 5.086 MB / 0.9167 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.0005641/0.01521, allocations: 0.9656 MB / 0.9652 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.01548, allocations: 212 kB / 0.9654 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01548, allocations: 4 kB / 0.9654 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01559, allocations: 99.95 kB / 0.9655 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.01587, allocations: 53.59 kB / 0.9655 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/0.02169, allocations: 6.407 MB / 0.9718 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.02192, allocations: 357.2 kB / 0.9721 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.02204, allocations: 77.31 kB / 0.9722 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.02223, allocations: 224.4 kB / 0.9724 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of SimCode: time 7.42e-07/0.02224, allocations: 0 / 0.9724 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.0454, allocations: 12.68 MB / 0.9848 GB, free: 64 kB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.398, allocations: 14 kB / 0.9848 GB, free: 52 kB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.294867469929159]