Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.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.0007192/0.0007192, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000988/0.001707, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006862/0.0006862, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008574/0.001544, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9531/0.9531, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07907/1.032, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.859/1.859, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4487/2.307, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0.6562 kB / 0.7294 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.869e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.00274/0.002759, allocations: 1.734 MB / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1289/0.1316, allocations: 142.9 MB / 0.8706 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.1317, allocations: 4 kB / 0.8706 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.1317, allocations: 7.875 kB / 0.8706 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.1318, allocations: 15.86 kB / 0.8707 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006206/0.1324, allocations: 238.9 kB / 0.8709 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1325, allocations: 91.66 kB / 0.871 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.1326, allocations: 23.92 kB / 0.871 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.811e-05/0.1327, allocations: 63.88 kB / 0.8711 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.1328, allocations: 31.89 kB / 0.8711 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1328, allocations: 8 kB / 0.8711 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.1332, allocations: 215.3 kB / 0.8713 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.1332, allocations: 11.94 kB / 0.8713 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.1332, allocations: 19.94 kB / 0.8713 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.1334, allocations: 167.5 kB / 0.8715 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.1334, allocations: 4 kB / 0.8715 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1335, allocations: 0 / 0.8715 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.1335, allocations: 4 kB / 0.8715 GB, free: 2.645 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003879/0.1338, allocations: 336 kB / 0.8718 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1339, allocations: 8.031 kB / 0.8718 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.1343, allocations: 165.9 kB / 0.872 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1344, allocations: 129.6 kB / 0.8721 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.1344, allocations: 59.97 kB / 0.8722 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1344, allocations: 16.12 kB / 0.8722 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1346, allocations: 108.8 kB / 0.8723 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1346, allocations: 0 / 0.8723 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1346, allocations: 4 kB / 0.8723 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1346, allocations: 4 kB / 0.8723 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/0.1347, allocations: 39.86 kB / 0.8723 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.135, allocations: 224 kB / 0.8725 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.737e-05/0.1351, allocations: 54.5 kB / 0.8726 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.1351, allocations: 16.84 kB / 0.8726 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.1351, allocations: 4 kB / 0.8726 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.1352, allocations: 34.56 kB / 0.8726 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.1352, allocations: 0 / 0.8726 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001912/0.1354, allocations: 69.8 kB / 0.8727 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.1354, allocations: 51.41 kB / 0.8728 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.1354, allocations: 133.6 kB / 0.8729 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1355, allocations: 33.64 kB / 0.8729 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.1355, allocations: 96.03 kB / 0.873 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.1355, allocations: 27.91 kB / 0.873 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1355, allocations: 21.72 kB / 0.8731 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.1356, allocations: 318.8 kB / 0.8734 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.1356, allocations: 8 kB / 0.8734 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.1356, allocations: 8 kB / 0.8734 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.1357, allocations: 33.2 kB / 0.8734 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1357, allocations: 4 kB / 0.8734 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.703e-05/0.1358, allocations: 61.69 kB / 0.8735 GB, free: 444 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1358, allocations: 7.984 kB / 0.8735 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1358, allocations: 3.938 kB / 0.8735 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/0.1358, allocations: 0 / 0.8735 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.1359, allocations: 19.98 kB / 0.8735 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.1359, allocations: 0 / 0.8735 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.1359, allocations: 15.92 kB / 0.8735 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.136, allocations: 3.984 kB / 0.8735 GB, free: 392 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.388e-05/0.136, allocations: 121.8 kB / 0.8736 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.136, allocations: 4 kB / 0.8736 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.136, allocations: 8.438 kB / 0.8736 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.136, allocations: 4 kB / 0.8737 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.136, allocations: 3.984 kB / 0.8737 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.136, allocations: 7.922 kB / 0.8737 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.452e-05/0.1361, allocations: 85.86 kB / 0.8737 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.1361, allocations: 0 / 0.8737 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.1362, allocations: 23.97 kB / 0.8738 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.1362, allocations: 11.95 kB / 0.8738 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1362, allocations: 0 / 0.8738 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.1362, allocations: 4 kB / 0.8738 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1362, allocations: 3.938 kB / 0.8738 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1362, allocations: 4 kB / 0.8738 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.1363, allocations: 151.5 kB / 0.8739 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1363, allocations: 0 / 0.8739 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.1364, allocations: 15.98 kB / 0.8739 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.1364, allocations: 11.98 kB / 0.874 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1364, allocations: 128 / 0.874 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.68e-05/0.1365, allocations: 28.77 kB / 0.874 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1365, allocations: 0 / 0.874 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001289/0.1366, allocations: 23.89 kB / 0.874 GB, free: 15.83 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001031/0.1367, allocations: 84.41 kB / 0.8741 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.1368, allocations: 56.72 kB / 0.8741 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1368, allocations: 4 kB / 0.8742 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.255e-05/0.1368, allocations: 20.86 kB / 0.8742 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.137, allocations: 19.98 kB / 0.8742 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.1379, allocations: 232.5 kB / 0.8744 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/0.1379, allocations: 59.34 kB / 0.8745 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.36e-05/0.138, allocations: 12 kB / 0.8745 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.1381, allocations: 67.36 kB / 0.8745 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of SimCode: time 4.9e-07/0.1381, allocations: 0 / 0.8745 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of Templates: time 0.002725/0.1408, allocations: 1.515 MB / 0.876 GB, free: 13.74 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.794266163371503]