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.0008359/0.0008359, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001456/0.001456, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8811/0.8811, allocations: 177.2 MB / 203.5 MB, free: 5.734 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.601/1.601, allocations: 359 MB / 0.6044 GB, free: 11.08 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.537e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002534/0.002559, allocations: 2.181 MB / 0.9539 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003707, allocations: 0.8812 MB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.003802, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.004279, allocations: 178.9 kB / 0.9549 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.00438, allocations: 75.38 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.004754, allocations: 115.7 kB / 0.9551 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.004989, allocations: 227 kB / 0.9553 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.00515, allocations: 58.05 kB / 0.9554 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.005285, allocations: 131.6 kB / 0.9555 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.005371, allocations: 67.73 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.005401, allocations: 20 kB / 0.9556 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.005622, allocations: 143.8 kB / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.005752, allocations: 219.3 kB / 0.9559 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.82e-05/0.00584, allocations: 139.4 kB / 0.956 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.006354, allocations: 0.7083 MB / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.006356, allocations: 0 / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.293e-06/0.006357, allocations: 7.938 kB / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.006364, allocations: 0 / 0.9567 GB, free: 13.82 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.0008837/0.007247, allocations: 0.9147 MB / 0.9576 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.007285, allocations: 8.031 kB / 0.9576 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.007604, allocations: 132.3 kB / 0.9578 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.008268, allocations: 0.5332 MB / 0.9583 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.008288, allocations: 20.31 kB / 0.9583 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.008304, allocations: 12.38 kB / 0.9583 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.008567, allocations: 194.2 kB / 0.9585 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.008576, allocations: 192 / 0.9585 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.00859, allocations: 4.375 kB / 0.9585 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.008596, allocations: 4.375 kB / 0.9585 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.008857, allocations: 235.8 kB / 0.9587 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.009644, allocations: 0.7849 MB / 0.9595 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.01005, allocations: 306.5 kB / 0.9598 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.01016, allocations: 108.8 kB / 0.9599 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.01051, allocations: 155.9 kB / 0.9601 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.01053, allocations: 30.56 kB / 0.9601 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.01053, allocations: 0 / 0.9601 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0004782/0.01101, allocations: 412.9 kB / 0.9605 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.01104, allocations: 55.41 kB / 0.9605 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/0.01179, allocations: 0.9935 MB / 0.9615 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01181, allocations: 33.64 kB / 0.9615 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.012, allocations: 348.1 kB / 0.9619 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.01202, allocations: 23.75 kB / 0.9619 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.01206, allocations: 33.7 kB / 0.9619 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.01213, allocations: 310 kB / 0.9622 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.01224, allocations: 99.94 kB / 0.9623 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.01236, allocations: 118.8 kB / 0.9624 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.01259, allocations: 230.4 kB / 0.9626 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.01259, allocations: 0 / 0.9626 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003094/0.0129, allocations: 317 kB / 0.9629 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01292, allocations: 10.19 kB / 0.963 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.01292, allocations: 3.984 kB / 0.963 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.01294, allocations: 3.938 kB / 0.963 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.01302, allocations: 27.92 kB / 0.963 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01303, allocations: 0 / 0.963 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.0131, allocations: 23.88 kB / 0.963 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.01311, allocations: 8.062 kB / 0.963 GB, free: 7.191 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.0001745/0.01329, allocations: 241.8 kB / 0.9632 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.01334, allocations: 75.48 kB / 0.9633 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.0137, allocations: 328.5 kB / 0.9636 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.0137, allocations: 3.938 kB / 0.9636 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.0137, allocations: 0 / 0.9636 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01371, allocations: 0 / 0.9636 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.01401, allocations: 425 kB / 0.964 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01401, allocations: 0 / 0.964 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.01408, allocations: 27.97 kB / 0.9641 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01408, allocations: 0 / 0.9641 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01409, allocations: 8 kB / 0.9641 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01409, allocations: 3.938 kB / 0.9641 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01409, allocations: 7.938 kB / 0.9641 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.01442, allocations: 407.1 kB / 0.9645 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.01453, allocations: 107.4 kB / 0.9646 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.01456, allocations: 8 kB / 0.9646 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.01464, allocations: 7.938 kB / 0.9646 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.01468, allocations: 7.922 kB / 0.9646 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.01468, allocations: 4 kB / 0.9646 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007088/0.01539, allocations: 0.7253 MB / 0.9653 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.81e-07/0.01539, allocations: 0 / 0.9653 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000234/0.01563, allocations: 67.89 kB / 0.9654 GB, free: 4.707 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.0001546/0.01578, allocations: 115.2 kB / 0.9655 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.01609, allocations: 207.8 kB / 0.9657 GB, free: 4.379 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01609, allocations: 0 / 0.9657 GB, free: 4.379 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.01621, allocations: 112 kB / 0.9658 GB, free: 4.27 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.01649, allocations: 51.25 kB / 0.9658 GB, free: 4.223 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.01762, allocations: 1.219 MB / 0.967 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.01784, allocations: 345.5 kB / 0.9674 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.01791, allocations: 36.5 kB / 0.9674 GB, free: 2.566 MB / 0.9167 GB Notification: Performance of SimCode: time 8.22e-07/0.01791, allocations: 0 / 0.9674 GB, free: 2.566 MB / 0.9167 GB Notification: Performance of Templates: time 0.006235/0.02414, allocations: 7.51 MB / 0.9747 GB, free: 11.07 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] 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: 6.674778344109654]