Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001201/0.001201, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001304/0.001304, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9081/0.9081, allocations: 177.1 MB / 203.5 MB, free: 5.398 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.769/1.769, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.14e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002956/0.002988, allocations: 2.181 MB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.004061, allocations: 0.8812 MB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.004164, allocations: 4 kB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.004687, allocations: 170.9 kB / 0.9854 GB, free: 14.85 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.0048, allocations: 75.44 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.005243, allocations: 119.6 kB / 0.9856 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.005525, allocations: 227 kB / 0.9858 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.005714, allocations: 62.03 kB / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.005862, allocations: 127.6 kB / 0.986 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.005968, allocations: 67.75 kB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.005997, allocations: 23.94 kB / 0.986 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.006233, allocations: 139.8 kB / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.006381, allocations: 219.3 kB / 0.9864 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.006476, allocations: 135.5 kB / 0.9865 GB, free: 13.68 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.007046, allocations: 0.7122 MB / 0.9872 GB, free: 12.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.007052, allocations: 0 / 0.9872 GB, free: 12.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/0.007054, allocations: 0 / 0.9872 GB, free: 12.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.007062, allocations: 0 / 0.9872 GB, free: 12.96 MB / 0.948 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.0009587/0.008021, allocations: 0.9264 MB / 0.9881 GB, free: 12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.008065, allocations: 8.031 kB / 0.9881 GB, free: 11.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.008418, allocations: 120.3 kB / 0.9882 GB, free: 11.87 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.008986, allocations: 0.537 MB / 0.9888 GB, free: 11.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.009007, allocations: 12.38 kB / 0.9888 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.009028, allocations: 16.38 kB / 0.9888 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.00933, allocations: 194.1 kB / 0.989 GB, free: 11.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.00934, allocations: 192 / 0.989 GB, free: 11.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.009356, allocations: 8.312 kB / 0.989 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.009366, allocations: 8.359 kB / 0.989 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.009634, allocations: 227.8 kB / 0.9892 GB, free: 10.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.0105, allocations: 0.7887 MB / 0.99 GB, free: 10.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.01095, allocations: 310.5 kB / 0.9903 GB, free: 9.711 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.01107, allocations: 101 kB / 0.9904 GB, free: 9.609 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/0.01154, allocations: 163.8 kB / 0.9905 GB, free: 9.449 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.01156, allocations: 30.56 kB / 0.9906 GB, free: 9.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.01156, allocations: 0 / 0.9906 GB, free: 9.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.000784/0.01235, allocations: 412.9 kB / 0.9909 GB, free: 9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.01239, allocations: 51.41 kB / 0.991 GB, free: 8.938 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008629/0.01325, allocations: 1.001 MB / 0.992 GB, free: 7.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.01327, allocations: 25.7 kB / 0.992 GB, free: 7.898 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.01349, allocations: 348.2 kB / 0.9923 GB, free: 7.551 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.01351, allocations: 35.72 kB / 0.9924 GB, free: 7.516 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.01356, allocations: 25.72 kB / 0.9924 GB, free: 7.484 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.01365, allocations: 310 kB / 0.9927 GB, free: 7.176 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.01377, allocations: 95.95 kB / 0.9928 GB, free: 7.082 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.0139, allocations: 122.5 kB / 0.9929 GB, free: 6.953 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.01415, allocations: 218.4 kB / 0.9931 GB, free: 6.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01415, allocations: 0 / 0.9931 GB, free: 6.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003463/0.0145, allocations: 337.3 kB / 0.9934 GB, free: 6.395 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.01451, allocations: 4 kB / 0.9934 GB, free: 6.391 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01452, allocations: 0 / 0.9934 GB, free: 6.391 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.01454, allocations: 3.938 kB / 0.9934 GB, free: 6.387 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.664e-05/0.01464, allocations: 23.98 kB / 0.9935 GB, free: 6.363 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.01464, allocations: 0 / 0.9935 GB, free: 6.363 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.01472, allocations: 23.94 kB / 0.9935 GB, free: 6.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01473, allocations: 4 kB / 0.9935 GB, free: 6.336 MB / 0.948 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.0002079/0.01494, allocations: 253.7 kB / 0.9937 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.015, allocations: 75.48 kB / 0.9938 GB, free: 6.004 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.01544, allocations: 320.6 kB / 0.9941 GB, free: 5.684 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01544, allocations: 3.938 kB / 0.9941 GB, free: 5.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.01545, allocations: 0 / 0.9941 GB, free: 5.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01545, allocations: 4 kB / 0.9941 GB, free: 5.676 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.01582, allocations: 425 kB / 0.9945 GB, free: 5.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01582, allocations: 3.938 kB / 0.9945 GB, free: 5.227 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.0159, allocations: 19.98 kB / 0.9945 GB, free: 5.207 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.01591, allocations: 0 / 0.9945 GB, free: 5.207 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01592, allocations: 4 kB / 0.9945 GB, free: 5.203 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.01592, allocations: 4 kB / 0.9945 GB, free: 5.199 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01593, allocations: 3.938 kB / 0.9945 GB, free: 5.195 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.0163, allocations: 406.9 kB / 0.9949 GB, free: 4.781 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.01645, allocations: 111.4 kB / 0.995 GB, free: 4.672 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.01648, allocations: 4 kB / 0.995 GB, free: 4.668 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.01656, allocations: 11.92 kB / 0.9951 GB, free: 4.656 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.0166, allocations: 3.938 kB / 0.9951 GB, free: 4.652 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.01661, allocations: 12.27 kB / 0.9951 GB, free: 4.641 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000591/0.0172, allocations: 0.7137 MB / 0.9958 GB, free: 3.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.0172, allocations: 4 kB / 0.9958 GB, free: 3.926 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002626/0.01747, allocations: 71.83 kB / 0.9958 GB, free: 3.855 MB / 0.948 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.0001913/0.01766, allocations: 115.2 kB / 0.9959 GB, free: 3.734 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.01796, allocations: 211.8 kB / 0.9962 GB, free: 3.527 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01796, allocations: 8.062 kB / 0.9962 GB, free: 3.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.01807, allocations: 99.95 kB / 0.9963 GB, free: 3.422 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.01839, allocations: 59.22 kB / 0.9963 GB, free: 3.363 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.01973, allocations: 1.211 MB / 0.9975 GB, free: 2.113 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.02024, allocations: 349.4 kB / 0.9978 GB, free: 1.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.02032, allocations: 40.48 kB / 0.9979 GB, free: 1.711 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/0.02032, allocations: 0 / 0.9979 GB, free: 1.711 MB / 0.948 GB Notification: Performance of Templates: time 0.007886/0.02821, allocations: 7.495 MB / 1.005 GB, free: 10.24 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.792930946685374]