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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 118.5 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 443.5 MB / 0.7293 GB, free: 14.45 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 1.057 GB, free: 1.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3139, allocations: 160.7 MB / 1.214 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003722/0.3176, allocations: 2.274 MB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3191, allocations: 0.9446 MB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.3192, allocations: 0 / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.3197, allocations: 210.8 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.3198, allocations: 67.44 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.3202, allocations: 111.7 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.3205, allocations: 227 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3206, allocations: 65.7 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3208, allocations: 79.59 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.3209, allocations: 99.42 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.321, allocations: 24 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.3213, allocations: 147.8 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.3215, allocations: 223.3 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.3217, allocations: 262.1 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008231/0.3225, allocations: 0.727 MB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3225, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3225, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.3225, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 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.001332/0.3239, allocations: 0.9979 MB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3239, allocations: 16.02 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.3245, allocations: 120.3 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008195/0.3253, allocations: 0.6019 MB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3253, allocations: 16.38 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.3253, allocations: 12.38 kB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.3258, allocations: 199.1 kB / 1.221 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3258, allocations: 4.125 kB / 1.221 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.3258, allocations: 7.938 kB / 1.221 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3258, allocations: 7.984 kB / 1.221 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.3263, allocations: 228.4 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3276, allocations: 0.9062 MB / 1.222 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/0.3283, allocations: 314.5 kB / 1.223 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.3285, allocations: 100.8 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/0.3293, allocations: 240.9 kB / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3293, allocations: 34.55 kB / 1.223 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3293, allocations: 0 / 1.223 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0009047/0.3302, allocations: 405 kB / 1.223 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3303, allocations: 55.41 kB / 1.224 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.3315, allocations: 0.9935 MB / 1.224 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3316, allocations: 25.7 kB / 1.225 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.3319, allocations: 352 kB / 1.225 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.3319, allocations: 31.78 kB / 1.225 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.332, allocations: 25.72 kB / 1.225 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3322, allocations: 318 kB / 1.225 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.3324, allocations: 91.95 kB / 1.225 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.3326, allocations: 122.5 kB / 1.225 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.333, allocations: 214.9 kB / 1.226 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.333, allocations: 7.875 kB / 1.226 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006172/0.3337, allocations: 332.9 kB / 1.226 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3337, allocations: 4 kB / 1.226 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3337, allocations: 0 / 1.226 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3337, allocations: 4 kB / 1.226 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.3339, allocations: 28.05 kB / 1.226 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3339, allocations: 4 kB / 1.226 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.334, allocations: 19.88 kB / 1.226 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3341, allocations: 7.938 kB / 1.226 GB, free: 4.363 MB / 0.9669 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.0002873/0.3344, allocations: 245.7 kB / 1.226 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3345, allocations: 79.42 kB / 1.226 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.3351, allocations: 328.5 kB / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3351, allocations: 0 / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3351, allocations: 0 / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3351, allocations: 7.984 kB / 1.227 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.3358, allocations: 0.5169 MB / 1.227 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3358, allocations: 3.938 kB / 1.227 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.3359, allocations: 19.98 kB / 1.227 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3359, allocations: 0 / 1.227 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3359, allocations: 7.984 kB / 1.227 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3359, allocations: 3.984 kB / 1.227 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3359, allocations: 4 kB / 1.227 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.3365, allocations: 403.1 kB / 1.228 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.3368, allocations: 188.4 kB / 1.228 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.3368, allocations: 16.08 kB / 1.228 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.337, allocations: 7.938 kB / 1.228 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.337, allocations: 7.984 kB / 1.228 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3371, allocations: 0 / 1.228 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009304/0.338, allocations: 0.7176 MB / 1.228 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.338, allocations: 0 / 1.228 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003706/0.3384, allocations: 75.81 kB / 1.229 GB, free: 1.66 MB / 0.9669 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.0002238/0.3386, allocations: 127.1 kB / 1.229 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005336/0.3391, allocations: 207.8 kB / 1.229 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3391, allocations: 0 / 1.229 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.3393, allocations: 112 kB / 1.229 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3398, allocations: 55.23 kB / 1.229 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3417, allocations: 1.232 MB / 1.23 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.3423, allocations: 0.9414 MB / 1.231 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.3424, allocations: 47.42 kB / 1.231 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3424, allocations: 0 / 1.231 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of Templates: time 0.01128/0.3537, allocations: 7.249 MB / 1.238 GB, free: 7.664 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.984764833934605]