Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009557/0.0009557, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.000991/0.000991, allocations: 165 kB / 23.02 MB, free: 1.551 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.074 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.138/2.138, allocations: 429.5 MB / 0.6732 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.672e-05/3.947e-05, allocations: 10.19 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1425/0.1426, allocations: 148.3 MB / 1.023 GB, free: 1.426 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.1536, allocations: 8.904 MB / 1.032 GB, free: 8.5 MB / 0.9949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008479/0.1545, allocations: 27.75 kB / 1.032 GB, free: 8.473 MB / 0.9949 GB Notification: Performance of NFTyping.typeComponents: time 0.0008269/0.1553, allocations: 277.6 kB / 1.032 GB, free: 8.199 MB / 0.9949 GB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.158, allocations: 1.014 MB / 1.033 GB, free: 7.18 MB / 0.9949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.1604, allocations: 1.114 MB / 1.034 GB, free: 6.062 MB / 0.9949 GB Notification: Performance of NFFlatten.flatten: time 0.001877/0.1622, allocations: 1.799 MB / 1.036 GB, free: 4.258 MB / 0.9949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.1634, allocations: 0.9163 MB / 1.037 GB, free: 3.32 MB / 0.9949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.1653, allocations: 1.099 MB / 1.038 GB, free: 2.254 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.1659, allocations: 0.5102 MB / 1.038 GB, free: 1.742 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.1661, allocations: 140 kB / 1.038 GB, free: 1.605 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.1679, allocations: 1.022 MB / 1.039 GB, free: 0.582 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.1681, allocations: 406.7 kB / 1.04 GB, free: 188 kB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.1685, allocations: 478.8 kB / 1.04 GB, free: 15.71 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.1712, allocations: 1.826 MB / 1.042 GB, free: 13.88 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1712, allocations: 4 kB / 1.042 GB, free: 13.88 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1712, allocations: 0 / 1.042 GB, free: 13.88 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.1713, allocations: 0 / 1.042 GB, free: 13.88 MB / 1.01 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.002293/0.1735, allocations: 1.799 MB / 1.044 GB, free: 12.04 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.1736, allocations: 8.031 kB / 1.044 GB, free: 12.03 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.175, allocations: 446.1 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1763, allocations: 0.8409 MB / 1.045 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.1764, allocations: 78 kB / 1.045 GB, free: 10.64 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1765, allocations: 104 kB / 1.045 GB, free: 10.54 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.1778, allocations: 1.252 MB / 1.046 GB, free: 9.141 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.1778, allocations: 4 kB / 1.046 GB, free: 9.137 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.1779, allocations: 40 kB / 1.047 GB, free: 9.098 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.1779, allocations: 27.94 kB / 1.047 GB, free: 9.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.1789, allocations: 0.87 MB / 1.047 GB, free: 8.195 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.1823, allocations: 2.678 MB / 1.05 GB, free: 5.453 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009999/0.1833, allocations: 0.6052 MB / 1.051 GB, free: 4.844 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.1836, allocations: 226.5 kB / 1.051 GB, free: 4.621 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.1838, allocations: 60.95 kB / 1.051 GB, free: 4.562 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000889/0.1847, allocations: 0.6829 MB / 1.052 GB, free: 3.801 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 2.865e-06/0.1847, allocations: 4 kB / 1.052 GB, free: 3.797 MB / 1.01 GB Notification: Performance of matching and sorting (n=103): time 0.002145/0.1868, allocations: 1.038 MB / 1.053 GB, free: 2.746 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1869, allocations: 200.9 kB / 1.053 GB, free: 2.504 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.1876, allocations: 0.687 MB / 1.053 GB, free: 1.805 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.1877, allocations: 57.7 kB / 1.053 GB, free: 1.742 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.188, allocations: 0.5195 MB / 1.054 GB, free: 1.215 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.1882, allocations: 349 kB / 1.054 GB, free: 0.8711 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.1884, allocations: 208.2 kB / 1.055 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1886, allocations: 0.516 MB / 1.055 GB, free: 140 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4931/0.6817, allocations: 170.2 kB / 1.055 GB, free: 71.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.6823, allocations: 0.5116 MB / 1.056 GB, free: 71.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.6829, allocations: 463.9 kB / 1.056 GB, free: 71.25 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.6829, allocations: 0.5469 kB / 1.056 GB, free: 71.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001547/0.6845, allocations: 0.8045 MB / 1.057 GB, free: 71.17 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.6845, allocations: 5.438 kB / 1.057 GB, free: 71.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6845, allocations: 4.094 kB / 1.057 GB, free: 71.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/0.6852, allocations: 170.1 kB / 1.057 GB, free: 71.15 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.6857, allocations: 222.6 kB / 1.057 GB, free: 71.15 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.6877, allocations: 3.677 MB / 1.061 GB, free: 67.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.6882, allocations: 94.73 kB / 1.061 GB, free: 67.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.6882, allocations: 44 kB / 1.061 GB, free: 67.69 MB / 1.01 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.0003181/0.6885, allocations: 228 kB / 1.061 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.6887, allocations: 142.1 kB / 1.061 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.6901, allocations: 0.9754 MB / 1.062 GB, free: 67.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6901, allocations: 11.78 kB / 1.062 GB, free: 67.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6901, allocations: 0.9688 kB / 1.062 GB, free: 67.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.6901, allocations: 9.344 kB / 1.062 GB, free: 67.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.6924, allocations: 1.905 MB / 1.064 GB, free: 67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6924, allocations: 1.688 kB / 1.064 GB, free: 67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.6928, allocations: 184.8 kB / 1.064 GB, free: 67 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.6933, allocations: 155.1 kB / 1.065 GB, free: 66.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.6933, allocations: 27.5 kB / 1.065 GB, free: 66.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.6947, allocations: 3.695 MB / 1.068 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6947, allocations: 1.125 kB / 1.068 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.6959, allocations: 1.011 MB / 1.069 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.6962, allocations: 233.1 kB / 1.069 GB, free: 63.15 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-05/0.6963, allocations: 28.39 kB / 1.069 GB, free: 63.15 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.6967, allocations: 56.19 kB / 1.069 GB, free: 63.15 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6968, allocations: 88.02 kB / 1.07 GB, free: 63.15 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.6969, allocations: 48.33 kB / 1.07 GB, free: 63.15 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003706/0.6972, allocations: 460.7 kB / 1.07 GB, free: 63.01 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6972, allocations: 0 / 1.07 GB, free: 63.01 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001032/0.6983, allocations: 486.1 kB / 1.07 GB, free: 62.98 MB / 1.01 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 (111): * Single equations (assignments): 99 * 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.001493/0.6998, allocations: 0.7468 MB / 1.071 GB, free: 62.83 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.7009, allocations: 0.9271 MB / 1.072 GB, free: 62.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7009, allocations: 3.906 kB / 1.072 GB, free: 62.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005418/0.7015, allocations: 0.6876 MB / 1.073 GB, free: 62.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/0.7023, allocations: 393.3 kB / 1.073 GB, free: 62.06 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.7051, allocations: 1.862 MB / 1.075 GB, free: 61.24 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.7052, allocations: 240.1 kB / 1.075 GB, free: 61.16 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006646/0.7059, allocations: 288.8 kB / 1.076 GB, free: 61.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.7061, allocations: 123.5 kB / 1.076 GB, free: 61.11 MB / 1.01 GB Notification: Performance of SimCode: time 1.813e-06/0.7062, allocations: 3.594 kB / 1.076 GB, free: 61.11 MB / 1.01 GB Notification: Performance of Templates: time 0.0301/0.7362, allocations: 20.8 MB / 1.096 GB, free: 59.18 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.784155271947384]