Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.0008939/0.0008939, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009714/0.0009714, allocations: 165 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.9721/0.9721, allocations: 177.1 MB / 204.2 MB, free: 5.211 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.795/1.795, allocations: 359 MB / 0.6052 GB, free: 11.01 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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.564e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1376/0.1376, allocations: 148.3 MB / 0.932 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1482, allocations: 8.92 MB / 0.9407 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.1487, allocations: 27.75 kB / 0.9407 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0007921/0.1495, allocations: 281.5 kB / 0.941 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.1516, allocations: 1.006 MB / 0.942 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.1534, allocations: 1.126 MB / 0.9431 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1548, allocations: 1.806 MB / 0.9448 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.1559, allocations: 0.9752 MB / 0.9458 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.1577, allocations: 1.083 MB / 0.9468 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.1582, allocations: 0.5204 MB / 0.9473 GB, free: 7.879 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.1584, allocations: 144 kB / 0.9475 GB, free: 7.738 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.1598, allocations: 1.018 MB / 0.9485 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.1601, allocations: 410.7 kB / 0.9489 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.1605, allocations: 478.8 kB / 0.9493 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.1624, allocations: 1.83 MB / 0.9511 GB, free: 4.012 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1624, allocations: 0 / 0.9511 GB, free: 4.012 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1624, allocations: 0 / 0.9511 GB, free: 4.012 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.1624, allocations: 0 / 0.9511 GB, free: 4.012 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002254/0.1647, allocations: 1.807 MB / 0.9529 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1647, allocations: 8.031 kB / 0.9529 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.1663, allocations: 450.1 kB / 0.9533 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.1675, allocations: 0.8486 MB / 0.9541 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.1675, allocations: 74 kB / 0.9542 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.1677, allocations: 112 kB / 0.9543 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.1691, allocations: 1.252 MB / 0.9555 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.1692, allocations: 0 / 0.9555 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.142e-05/0.1692, allocations: 44 kB / 0.9556 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.1693, allocations: 27.94 kB / 0.9556 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.1708, allocations: 0.8661 MB / 0.9564 GB, free: 14.31 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.003496/0.1743, allocations: 2.664 MB / 0.959 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1754, allocations: 0.6072 MB / 0.9596 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.1759, allocations: 218.5 kB / 0.9598 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.1761, allocations: 64.95 kB / 0.9599 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007427/0.1768, allocations: 0.6887 MB / 0.9606 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 2.455e-06/0.1768, allocations: 0 / 0.9606 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of matching and sorting (n=103): time 0.00239/0.1792, allocations: 1.042 MB / 0.9616 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.1793, allocations: 204.9 kB / 0.9618 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.18, allocations: 0.6947 MB / 0.9625 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/0.18, allocations: 57.69 kB / 0.9625 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.1804, allocations: 0.5119 MB / 0.963 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.1806, allocations: 345 kB / 0.9634 GB, free: 7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.1809, allocations: 216.2 kB / 0.9636 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.181, allocations: 0.5121 MB / 0.9641 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.1814, allocations: 173.8 kB / 0.9642 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.1819, allocations: 0.5136 MB / 0.9647 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/0.1827, allocations: 463.1 kB / 0.9652 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1827, allocations: 0 / 0.9652 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00153/0.1842, allocations: 0.8085 MB / 0.966 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1843, allocations: 10.5 kB / 0.966 GB, free: 4.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1843, allocations: 3.938 kB / 0.966 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006817/0.185, allocations: 167.3 kB / 0.9661 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.1856, allocations: 223.7 kB / 0.9663 GB, free: 3.801 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.1881, allocations: 3.669 MB / 0.9699 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/0.1885, allocations: 95.44 kB / 0.97 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.1886, allocations: 47.97 kB / 0.9701 GB, free: 15.73 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (121): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.1888, allocations: 227 kB / 0.9703 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.189, allocations: 143.2 kB / 0.9704 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.1909, allocations: 0.9876 MB / 0.9714 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.1909, allocations: 11.94 kB / 0.9714 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1909, allocations: 4 kB / 0.9714 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.1909, allocations: 3.984 kB / 0.9714 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.1936, allocations: 1.925 MB / 0.9733 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1936, allocations: 0 / 0.9733 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.1942, allocations: 183.8 kB / 0.9735 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006549/0.1948, allocations: 151.2 kB / 0.9736 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.1949, allocations: 31.97 kB / 0.9736 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.1969, allocations: 3.693 MB / 0.9772 GB, free: 8.031 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1969, allocations: 3.938 kB / 0.9772 GB, free: 8.027 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.1981, allocations: 1.009 MB / 0.9782 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.1984, allocations: 238.9 kB / 0.9785 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.568e-05/0.1984, allocations: 27.98 kB / 0.9785 GB, free: 6.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/0.1988, allocations: 55.95 kB / 0.9785 GB, free: 6.676 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1989, allocations: 89.02 kB / 0.9786 GB, free: 6.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.1989, allocations: 43.97 kB / 0.9787 GB, free: 6.547 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003657/0.1993, allocations: 462.9 kB / 0.9791 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1993, allocations: 0 / 0.9791 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007837/0.2001, allocations: 486.8 kB / 0.9796 GB, free: 5.621 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (112): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/0.2014, allocations: 0.7469 MB / 0.9803 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.2026, allocations: 0.9232 MB / 0.9812 GB, free: 4.082 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2026, allocations: 4 kB / 0.9812 GB, free: 4.078 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.2032, allocations: 0.7019 MB / 0.9819 GB, free: 3.34 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008201/0.204, allocations: 391.9 kB / 0.9823 GB, free: 2.977 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.2064, allocations: 1.876 MB / 0.9841 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2065, allocations: 231.9 kB / 0.9843 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006011/0.2071, allocations: 295.8 kB / 0.9846 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.2074, allocations: 128.4 kB / 0.9847 GB, free: 396 kB / 0.9323 GB Notification: Performance of SimCode: time 8.11e-07/0.2074, allocations: 0 / 0.9847 GB, free: 396 kB / 0.9323 GB Notification: Performance of Templates: time 0.02354/0.2309, allocations: 20.93 MB / 1.005 GB, free: 11.79 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.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.0516010988503695]