Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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.001288/0.001288, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001298/0.001298, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.9227/0.9227, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.737/1.737, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] 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.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.939e-05, allocations: 11.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1399/0.1399, allocations: 149.9 MB / 0.9335 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.1521, allocations: 9.302 MB / 0.9426 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.1532, allocations: 43.62 kB / 0.9426 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.1541, allocations: 325.2 kB / 0.943 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.1564, allocations: 1.021 MB / 0.944 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.1591, allocations: 1.457 MB / 0.9454 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002511/0.1616, allocations: 2.458 MB / 0.9478 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.1631, allocations: 1.156 MB / 0.9489 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.1657, allocations: 1.497 MB / 0.9504 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008899/0.1666, allocations: 0.6592 MB / 0.951 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.1668, allocations: 155.9 kB / 0.9512 GB, free: 3.957 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.1684, allocations: 0.924 MB / 0.9521 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.1688, allocations: 462.5 kB / 0.9525 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.1692, allocations: 0.5299 MB / 0.953 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.1715, allocations: 1.888 MB / 0.9549 GB, free: 156 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1715, allocations: 0 / 0.9549 GB, free: 156 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1715, allocations: 0 / 0.9549 GB, free: 156 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.526e-05/0.1716, allocations: 4 kB / 0.9549 GB, free: 152 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002294/0.1738, allocations: 1.961 MB / 0.9568 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1739, allocations: 12.03 kB / 0.9568 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.1754, allocations: 0.5639 MB / 0.9573 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.1765, allocations: 0.9371 MB / 0.9583 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/0.1766, allocations: 102.4 kB / 0.9584 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.1767, allocations: 124 kB / 0.9585 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.178, allocations: 1.305 MB / 0.9597 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.178, allocations: 0 / 0.9597 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.1781, allocations: 48 kB / 0.9598 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.1781, allocations: 31.94 kB / 0.9598 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.1792, allocations: 0.9576 MB / 0.9608 GB, free: 9.859 MB / 0.9167 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.004246/0.1835, allocations: 3.014 MB / 0.9637 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.1847, allocations: 0.6989 MB / 0.9644 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.185, allocations: 254.5 kB / 0.9646 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.1853, allocations: 96.91 kB / 0.9647 GB, free: 5.723 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/0.1861, allocations: 0.7063 MB / 0.9654 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=114): time 2.906e-06/0.1861, allocations: 4 kB / 0.9654 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=114): time 0.002173/0.1882, allocations: 1.066 MB / 0.9665 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.1884, allocations: 208.8 kB / 0.9667 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.189, allocations: 0.7025 MB / 0.9673 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/0.1891, allocations: 53.69 kB / 0.9674 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/0.1897, allocations: 0.5898 MB / 0.968 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.19, allocations: 392.7 kB / 0.9683 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.1902, allocations: 232.5 kB / 0.9686 GB, free: 1.605 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1904, allocations: 0.5238 MB / 0.9691 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.1907, allocations: 190.5 kB / 0.9693 GB, free: 0.8906 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.1912, allocations: 490.3 kB / 0.9697 GB, free: 352 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.192, allocations: 0.5268 MB / 0.9702 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.192, allocations: 0 / 0.9702 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001372/0.1934, allocations: 0.8748 MB / 0.9711 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.1934, allocations: 8 kB / 0.9711 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1934, allocations: 3.938 kB / 0.9711 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005232/0.1939, allocations: 135.6 kB / 0.9712 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.1945, allocations: 251.6 kB / 0.9715 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.1962, allocations: 1.905 MB / 0.9733 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.1967, allocations: 105.5 kB / 0.9734 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.1968, allocations: 48 kB / 0.9735 GB, free: 12.33 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002772/0.1971, allocations: 231 kB / 0.9737 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.1973, allocations: 163.2 kB / 0.9739 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.1991, allocations: 1.191 MB / 0.975 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.1992, allocations: 12 kB / 0.975 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1992, allocations: 0 / 0.975 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.1992, allocations: 7.969 kB / 0.975 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.2019, allocations: 2.114 MB / 0.9771 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2019, allocations: 7.938 kB / 0.9771 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.2024, allocations: 199.8 kB / 0.9773 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003745/0.2028, allocations: 119.7 kB / 0.9774 GB, free: 8.168 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.197e-05/0.2028, allocations: 39.97 kB / 0.9775 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.2041, allocations: 1.918 MB / 0.9793 GB, free: 6.082 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2041, allocations: 0 / 0.9793 GB, free: 6.082 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.2058, allocations: 1.313 MB / 0.9806 GB, free: 4.723 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.2062, allocations: 262.8 kB / 0.9809 GB, free: 4.465 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2063, allocations: 35.88 kB / 0.9809 GB, free: 4.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.2066, allocations: 53.69 kB / 0.9809 GB, free: 4.379 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.2068, allocations: 89.02 kB / 0.981 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/0.2068, allocations: 47.97 kB / 0.9811 GB, free: 4.246 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004267/0.2073, allocations: 466.9 kB / 0.9815 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2073, allocations: 4 kB / 0.9815 GB, free: 3.793 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001471/0.2087, allocations: 0.4908 MB / 0.982 GB, free: 3.301 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/0.2104, allocations: 0.7045 MB / 0.9827 GB, free: 2.762 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.2118, allocations: 0.8266 MB / 0.9835 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.2118, allocations: 4 kB / 0.9835 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.2124, allocations: 0.5477 MB / 0.984 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.2135, allocations: 477.3 kB / 0.9845 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.2171, allocations: 2.193 MB / 0.9866 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2173, allocations: 256.8 kB / 0.9869 GB, free: 14.36 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007371/0.218, allocations: 336.8 kB / 0.9872 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.2183, allocations: 132.4 kB / 0.9873 GB, free: 13.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.303e-06/0.2183, allocations: 0 / 0.9873 GB, free: 13.89 MB / 0.948 GB Notification: Performance of Templates: time 0.03291/0.2512, allocations: 23.79 MB / 1.011 GB, free: 6.535 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.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: 6.220647421199828]