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.002263/0.002263, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002803/0.002803, allocations: 166.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.585/1.585, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.971/2.971, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] 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 7.153e-06/7.153e-06, allocations: 4 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/4.098e-05, allocations: 6.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004768/0.004809, allocations: 2.181 MB / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.006939, allocations: 0.8696 MB / 0.954 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.007227, allocations: 7.938 kB / 0.954 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008666/0.008093, allocations: 178.9 kB / 0.9541 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.008402, allocations: 71.39 kB / 0.9542 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.009053, allocations: 115.7 kB / 0.9543 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.009527, allocations: 230.9 kB / 0.9545 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.009763, allocations: 58.05 kB / 0.9546 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.01, allocations: 123.6 kB / 0.9547 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.01016, allocations: 83.67 kB / 0.9548 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.01022, allocations: 16 kB / 0.9548 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.0106, allocations: 139.8 kB / 0.9549 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.01088, allocations: 219.3 kB / 0.9551 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.01108, allocations: 139.4 kB / 0.9553 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.01216, allocations: 0.7044 MB / 0.956 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.01216, allocations: 0 / 0.956 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.01216, allocations: 0 / 0.956 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.01217, allocations: 0 / 0.956 GB, free: 6.418 MB / 0.8575 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.00142/0.01359, allocations: 0.9264 MB / 0.9569 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.01364, allocations: 12.03 kB / 0.9569 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006005/0.01424, allocations: 124.3 kB / 0.957 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008797/0.01512, allocations: 0.537 MB / 0.9575 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.01514, allocations: 8.375 kB / 0.9575 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.01517, allocations: 16.38 kB / 0.9576 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.01565, allocations: 198.1 kB / 0.9577 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.01566, allocations: 192 / 0.9577 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.01568, allocations: 8.375 kB / 0.9577 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.01569, allocations: 384 / 0.9577 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.01621, allocations: 232.3 kB / 0.958 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.01748, allocations: 0.7849 MB / 0.9587 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.01822, allocations: 314.4 kB / 0.959 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.01845, allocations: 101 kB / 0.9591 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007365/0.01919, allocations: 159.8 kB / 0.9593 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.01924, allocations: 38.56 kB / 0.9593 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.01924, allocations: 0 / 0.9593 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0009307/0.02017, allocations: 408.9 kB / 0.9597 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.02021, allocations: 51.41 kB / 0.9598 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.02154, allocations: 0.9974 MB / 0.9607 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.02156, allocations: 25.7 kB / 0.9608 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.02191, allocations: 348.5 kB / 0.9611 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.02195, allocations: 31.73 kB / 0.9611 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.02202, allocations: 25.72 kB / 0.9611 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.02215, allocations: 310 kB / 0.9614 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.02237, allocations: 99.89 kB / 0.9615 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.02262, allocations: 134.4 kB / 0.9617 GB, free: 408 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.02308, allocations: 218.4 kB / 0.9619 GB, free: 180 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.02309, allocations: 0 / 0.9619 GB, free: 180 kB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006437/0.02373, allocations: 329 kB / 0.9622 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.02375, allocations: 4 kB / 0.9622 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.02376, allocations: 4 kB / 0.9622 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.02378, allocations: 3.938 kB / 0.9622 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.02397, allocations: 23.98 kB / 0.9622 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.02398, allocations: 3.984 kB / 0.9622 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.02414, allocations: 12 kB / 0.9622 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.02415, allocations: 4 kB / 0.9622 GB, free: 15.79 MB / 0.8731 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.0003222/0.02448, allocations: 254.5 kB / 0.9625 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.02458, allocations: 75.48 kB / 0.9626 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/0.02526, allocations: 328.5 kB / 0.9629 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.02527, allocations: 11.92 kB / 0.9629 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.02528, allocations: 0 / 0.9629 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.02528, allocations: 0 / 0.9629 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.0258, allocations: 421 kB / 0.9633 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.0258, allocations: 0 / 0.9633 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.02596, allocations: 24.17 kB / 0.9633 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.02596, allocations: 4 kB / 0.9633 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.02598, allocations: 7.938 kB / 0.9633 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02598, allocations: 0 / 0.9633 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.02599, allocations: 7.922 kB / 0.9633 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.02664, allocations: 402.9 kB / 0.9637 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.02684, allocations: 115.4 kB / 0.9638 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.0269, allocations: 0 / 0.9638 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.02708, allocations: 15.92 kB / 0.9638 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.02713, allocations: 15.92 kB / 0.9638 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.02714, allocations: 0 / 0.9638 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009678/0.02811, allocations: 0.7176 MB / 0.9645 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02811, allocations: 0 / 0.9645 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003865/0.0285, allocations: 79.88 kB / 0.9646 GB, free: 13.29 MB / 0.8731 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.0002247/0.02872, allocations: 107.2 kB / 0.9647 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.02924, allocations: 207.8 kB / 0.9649 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02924, allocations: 0 / 0.9649 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.02947, allocations: 108.1 kB / 0.965 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.02991, allocations: 57.89 kB / 0.9651 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.03192, allocations: 1.152 MB / 0.9662 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.03235, allocations: 350.9 kB / 0.9665 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.03257, allocations: 81.31 kB / 0.9666 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.03266, allocations: 32.5 kB / 0.9667 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.03267, allocations: 7.875 kB / 0.9667 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.01187/0.04454, allocations: 4.52 MB / 0.9711 GB, free: 6.656 MB / 0.8731 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: 9.071064256131649]