Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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.00113/0.00113, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.002806, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007638/0.0007638, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009512/0.001715, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9166/0.9166, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09129/1.008, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.847/1.847, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5249/2.372, allocations: 123.3 MB / 0.7283 GB, free: 5.758 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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.7296 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.963e-05, allocations: 8.359 kB / 0.7296 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1296/0.1296, allocations: 147 MB / 0.8731 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.1326, allocations: 2.365 MB / 0.8754 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.1329, allocations: 23.81 kB / 0.8755 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.1333, allocations: 127.1 kB / 0.8756 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.1344, allocations: 0.6332 MB / 0.8762 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.1349, allocations: 315.2 kB / 0.8765 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1359, allocations: 0.9427 MB / 0.8774 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009212/0.1369, allocations: 262.7 kB / 0.8777 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.1384, allocations: 0.5968 MB / 0.8783 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.1388, allocations: 243.2 kB / 0.8785 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.1388, allocations: 32 kB / 0.8785 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/0.1393, allocations: 291.1 kB / 0.8788 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1395, allocations: 119.6 kB / 0.8789 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1396, allocations: 127.8 kB / 0.879 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.1401, allocations: 422.6 kB / 0.8794 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.1402, allocations: 3.938 kB / 0.8794 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1402, allocations: 0 / 0.8794 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.1402, allocations: 0 / 0.8794 GB, free: 10.74 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007977/0.141, allocations: 0.6784 MB / 0.8801 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.141, allocations: 8.031 kB / 0.8801 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.1416, allocations: 241.6 kB / 0.8803 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.1419, allocations: 300.4 kB / 0.8806 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1419, allocations: 24.62 kB / 0.8806 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.142, allocations: 31.88 kB / 0.8807 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.1422, allocations: 296.4 kB / 0.881 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1422, allocations: 0 / 0.881 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.1422, allocations: 12 kB / 0.881 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.1423, allocations: 12.48 kB / 0.881 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1424, allocations: 73.45 kB / 0.8811 GB, free: 8.984 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.1432, allocations: 0.6094 MB / 0.8816 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1434, allocations: 117.3 kB / 0.8818 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.1435, allocations: 50.5 kB / 0.8818 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.1435, allocations: 0 / 0.8818 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1435, allocations: 42.5 kB / 0.8818 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.1435, allocations: 0 / 0.8818 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0004368/0.144, allocations: 189.6 kB / 0.882 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.144, allocations: 55.34 kB / 0.8821 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1441, allocations: 262.9 kB / 0.8823 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1441, allocations: 29.7 kB / 0.8824 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.1442, allocations: 161.2 kB / 0.8825 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1443, allocations: 79.34 kB / 0.8826 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.1443, allocations: 41.7 kB / 0.8826 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.1444, allocations: 350.7 kB / 0.883 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.1444, allocations: 22.83 kB / 0.883 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/0.1445, allocations: 69.97 kB / 0.8831 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1446, allocations: 129.7 kB / 0.8832 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1446, allocations: 0 / 0.8832 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001364/0.1447, allocations: 133.2 kB / 0.8833 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1447, allocations: 8.188 kB / 0.8833 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1447, allocations: 4 kB / 0.8833 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1447, allocations: 4 kB / 0.8833 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1449, allocations: 51.91 kB / 0.8834 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1449, allocations: 4 kB / 0.8834 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.145, allocations: 15.89 kB / 0.8834 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.145, allocations: 8 kB / 0.8834 GB, free: 6.438 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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 7.778e-05/0.1451, allocations: 132.4 kB / 0.8835 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1451, allocations: 27.97 kB / 0.8835 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.1451, allocations: 38.3 kB / 0.8836 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1452, allocations: 4 kB / 0.8836 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1452, allocations: 0 / 0.8836 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1452, allocations: 0 / 0.8836 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1454, allocations: 193.6 kB / 0.8838 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1454, allocations: 0 / 0.8838 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1455, allocations: 51.91 kB / 0.8838 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.1456, allocations: 43.72 kB / 0.8839 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/0.1457, allocations: 46.48 kB / 0.8839 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1457, allocations: 8 kB / 0.8839 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006482/0.1464, allocations: 1.227 MB / 0.8851 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1464, allocations: 3.938 kB / 0.8851 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1467, allocations: 274.8 kB / 0.8854 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1467, allocations: 11.94 kB / 0.8854 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1468, allocations: 4 kB / 0.8854 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.1468, allocations: 15.97 kB / 0.8854 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.1468, allocations: 4 kB / 0.8854 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.514e-05/0.1469, allocations: 96.62 kB / 0.8855 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.1469, allocations: 0 / 0.8855 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002426/0.1471, allocations: 111.8 kB / 0.8856 GB, free: 4.008 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000139/0.1473, allocations: 92.41 kB / 0.8857 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1474, allocations: 95.22 kB / 0.8858 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.1474, allocations: 4 kB / 0.8858 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1476, allocations: 183.3 kB / 0.886 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.1484, allocations: 1.267 MB / 0.8872 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.1507, allocations: 0.597 MB / 0.8878 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.138e-05/0.1507, allocations: 109.5 kB / 0.8879 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000146/0.1509, allocations: 54.94 kB / 0.8879 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.1511, allocations: 169.2 kB / 0.8881 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.1511, allocations: 0 / 0.8881 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of Templates: time 0.009305/0.1604, allocations: 7.685 MB / 0.8956 GB, free: 9.66 MB / 0.8699 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.138582270592451]