Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00136/0.00136, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001472/0.001472, allocations: 181 kB / 23.35 MB, free: 1.137 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 1.005/1.005, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.369/2.369, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.477e-05, allocations: 8.641 kB / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1251/0.1252, allocations: 146.5 MB / 0.9816 GB, free: 11.2 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003077/0.1282, allocations: 2.344 MB / 0.9839 GB, free: 8.855 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.1286, allocations: 19.88 kB / 0.9839 GB, free: 8.836 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.129, allocations: 131.1 kB / 0.984 GB, free: 8.707 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1302, allocations: 0.6488 MB / 0.9846 GB, free: 8.055 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.1308, allocations: 327.2 kB / 0.985 GB, free: 7.734 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009762/0.1317, allocations: 0.9504 MB / 0.9859 GB, free: 6.781 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.132, allocations: 230.5 kB / 0.9861 GB, free: 6.547 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.1331, allocations: 0.5714 MB / 0.9867 GB, free: 5.992 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.1334, allocations: 247.2 kB / 0.9869 GB, free: 5.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.1335, allocations: 36 kB / 0.9869 GB, free: 5.715 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.1338, allocations: 275.2 kB / 0.9872 GB, free: 5.445 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.134, allocations: 139.5 kB / 0.9873 GB, free: 5.309 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.1342, allocations: 151.7 kB / 0.9875 GB, free: 5.16 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.1348, allocations: 458.5 kB / 0.9879 GB, free: 4.711 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1348, allocations: 0 / 0.9879 GB, free: 4.711 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1348, allocations: 0 / 0.9879 GB, free: 4.711 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.1348, allocations: 0 / 0.9879 GB, free: 4.711 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006799/0.1355, allocations: 0.6002 MB / 0.9885 GB, free: 4.086 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1355, allocations: 8.625 kB / 0.9885 GB, free: 4.078 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005376/0.1361, allocations: 164.5 kB / 0.9887 GB, free: 3.918 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1364, allocations: 300.4 kB / 0.989 GB, free: 3.598 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1364, allocations: 28.56 kB / 0.989 GB, free: 3.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.1365, allocations: 27.95 kB / 0.989 GB, free: 3.543 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.1367, allocations: 296.4 kB / 0.9893 GB, free: 3.211 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1367, allocations: 4 kB / 0.9893 GB, free: 3.207 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1367, allocations: 12 kB / 0.9893 GB, free: 3.195 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.1368, allocations: 8.5 kB / 0.9893 GB, free: 3.188 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1369, allocations: 77.39 kB / 0.9894 GB, free: 3.113 MB / 0.948 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.0008051/0.1377, allocations: 0.6056 MB / 0.99 GB, free: 2.484 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1379, allocations: 105.4 kB / 0.9901 GB, free: 2.371 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.1379, allocations: 42.33 kB / 0.9901 GB, free: 2.328 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.1379, allocations: 7.938 kB / 0.9901 GB, free: 2.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1379, allocations: 42.52 kB / 0.9902 GB, free: 2.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1379, allocations: 0 / 0.9902 GB, free: 2.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0004113/0.1384, allocations: 187.8 kB / 0.9903 GB, free: 2.078 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.1384, allocations: 59.34 kB / 0.9904 GB, free: 2.008 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1385, allocations: 258.9 kB / 0.9906 GB, free: 1.746 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1386, allocations: 33.7 kB / 0.9907 GB, free: 1.707 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1386, allocations: 161.2 kB / 0.9908 GB, free: 1.547 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.1387, allocations: 83.3 kB / 0.9909 GB, free: 1.465 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.1387, allocations: 49.69 kB / 0.991 GB, free: 1.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.1388, allocations: 338.7 kB / 0.9913 GB, free: 1.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.1388, allocations: 26.75 kB / 0.9913 GB, free: 1.043 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.1389, allocations: 80.53 kB / 0.9914 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.139, allocations: 123.3 kB / 0.9915 GB, free: 0.8008 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.139, allocations: 4 kB / 0.9915 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001471/0.1391, allocations: 134.4 kB / 0.9916 GB, free: 0.6602 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1391, allocations: 8 kB / 0.9916 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1391, allocations: 0 / 0.9916 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1392, allocations: 4 kB / 0.9916 GB, free: 0.6484 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1393, allocations: 47.91 kB / 0.9917 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.1393, allocations: 0 / 0.9917 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.1394, allocations: 15.89 kB / 0.9917 GB, free: 0.5859 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1394, allocations: 12.19 kB / 0.9917 GB, free: 0.5742 MB / 0.948 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.939e-05/0.1395, allocations: 128.5 kB / 0.9918 GB, free: 448 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1395, allocations: 27.97 kB / 0.9919 GB, free: 420 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.1395, allocations: 30.3 kB / 0.9919 GB, free: 388 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1395, allocations: 4 kB / 0.9919 GB, free: 384 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1396, allocations: 0 / 0.9919 GB, free: 384 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1396, allocations: 0 / 0.9919 GB, free: 384 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.1398, allocations: 201.5 kB / 0.9921 GB, free: 164 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1398, allocations: 0 / 0.9921 GB, free: 164 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.1399, allocations: 35.92 kB / 0.9921 GB, free: 128 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.14, allocations: 54.47 kB / 0.9922 GB, free: 68 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.14, allocations: 4 kB / 0.9922 GB, free: 64 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006621/0.1407, allocations: 1.227 MB / 0.9934 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1407, allocations: 4.031 kB / 0.9934 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1409, allocations: 272.6 kB / 0.9936 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.141, allocations: 35.75 kB / 0.9937 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.141, allocations: 11.92 kB / 0.9937 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1411, allocations: 5.375 kB / 0.9937 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.1412, allocations: 11.98 kB / 0.9937 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1412, allocations: 7.984 kB / 0.9937 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.923e-05/0.1413, allocations: 96.62 kB / 0.9938 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1413, allocations: 0 / 0.9938 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002497/0.1415, allocations: 115.8 kB / 0.9939 GB, free: 14.17 MB / 0.9636 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.0001218/0.1416, allocations: 92.34 kB / 0.994 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.1418, allocations: 96.64 kB / 0.9941 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1418, allocations: 0 / 0.9941 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.1419, allocations: 177.6 kB / 0.9943 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.1424, allocations: 203.5 kB / 0.9945 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.1433, allocations: 0.6147 MB / 0.9951 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.468e-05/0.1434, allocations: 113.5 kB / 0.9952 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.1436, allocations: 42.95 kB / 0.9952 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.1438, allocations: 165.2 kB / 0.9954 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of SimCode: time 7.52e-07/0.1438, allocations: 0 / 0.9954 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of Templates: time 0.009318/0.1531, allocations: 7.216 MB / 1.002 GB, free: 5.59 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.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: 5.3568224790506065]