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.001317/0.001317, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001474/0.001474, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9728/0.9728, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.065/2.065, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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 1.703e-06/1.703e-06, allocations: 0 / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.857e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1485/0.1485, allocations: 150 MB / 1.025 GB, free: 140 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.1637, allocations: 10.81 MB / 1.035 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.165, allocations: 23.81 kB / 1.035 GB, free: 5.273 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.166, allocations: 301.5 kB / 1.036 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.1694, allocations: 1.018 MB / 1.037 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.1723, allocations: 1.11 MB / 1.038 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.175, allocations: 1.81 MB / 1.039 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.1765, allocations: 0.9241 MB / 1.04 GB, free: 80 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.1788, allocations: 1.074 MB / 1.041 GB, free: 15.04 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007496/0.1795, allocations: 0.5164 MB / 1.042 GB, free: 14.52 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.1797, allocations: 144 kB / 1.042 GB, free: 14.38 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.1818, allocations: 1.022 MB / 1.043 GB, free: 13.36 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.1822, allocations: 402.7 kB / 1.043 GB, free: 12.96 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000552/0.1827, allocations: 478.8 kB / 1.044 GB, free: 12.49 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.1863, allocations: 1.837 MB / 1.046 GB, free: 10.65 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1863, allocations: 0 / 1.046 GB, free: 10.65 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1863, allocations: 0 / 1.046 GB, free: 10.65 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.188e-05/0.1863, allocations: 3.938 kB / 1.046 GB, free: 10.64 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.002821/0.1891, allocations: 1.803 MB / 1.047 GB, free: 8.797 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.1892, allocations: 8.031 kB / 1.047 GB, free: 8.789 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.1911, allocations: 442.1 kB / 1.048 GB, free: 8.355 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1926, allocations: 0.8409 MB / 1.049 GB, free: 7.484 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.1926, allocations: 74 kB / 1.049 GB, free: 7.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.1928, allocations: 115.9 kB / 1.049 GB, free: 7.297 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.1946, allocations: 1.244 MB / 1.05 GB, free: 5.906 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1946, allocations: 0 / 1.05 GB, free: 5.906 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/0.1947, allocations: 51.98 kB / 1.05 GB, free: 5.855 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.1948, allocations: 27.94 kB / 1.05 GB, free: 5.828 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.1962, allocations: 0.8622 MB / 1.051 GB, free: 4.965 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/0.2006, allocations: 2.691 MB / 1.054 GB, free: 2.207 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.2019, allocations: 0.5974 MB / 1.054 GB, free: 1.605 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/0.2023, allocations: 233.1 kB / 1.054 GB, free: 1.379 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.2025, allocations: 56.95 kB / 1.054 GB, free: 1.324 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007975/0.2033, allocations: 0.6868 MB / 1.055 GB, free: 0.5586 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 3.347e-06/0.2033, allocations: 0 / 1.055 GB, free: 0.5586 MB / 1.01 GB Notification: Performance of matching and sorting (n=103): time 0.4957/0.699, allocations: 1.032 MB / 1.056 GB, free: 221.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.6991, allocations: 206.1 kB / 1.056 GB, free: 220.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.6999, allocations: 0.69 MB / 1.057 GB, free: 220.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.7001, allocations: 52.98 kB / 1.057 GB, free: 220.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.7004, allocations: 0.5161 MB / 1.058 GB, free: 220.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.7006, allocations: 346 kB / 1.058 GB, free: 220.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.7009, allocations: 209.1 kB / 1.058 GB, free: 220.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.701, allocations: 0.5144 MB / 1.059 GB, free: 219.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.7013, allocations: 170.2 kB / 1.059 GB, free: 219.7 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.7017, allocations: 0.5124 MB / 1.059 GB, free: 219.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/0.7024, allocations: 464.2 kB / 1.06 GB, free: 219.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7024, allocations: 0 / 1.06 GB, free: 219.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001407/0.7038, allocations: 0.8193 MB / 1.06 GB, free: 218.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.7038, allocations: 5.719 kB / 1.06 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.7038, allocations: 4.016 kB / 1.06 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006902/0.7045, allocations: 164.2 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.7051, allocations: 226.2 kB / 1.061 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.7071, allocations: 3.663 MB / 1.064 GB, free: 215.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.7076, allocations: 98.75 kB / 1.065 GB, free: 215.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.7077, allocations: 46.03 kB / 1.065 GB, free: 215.2 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.0003754/0.7081, allocations: 228.1 kB / 1.065 GB, free: 215 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.7083, allocations: 141.5 kB / 1.065 GB, free: 214.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.7096, allocations: 0.9739 MB / 1.066 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.7097, allocations: 9.031 kB / 1.066 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.7097, allocations: 7.453 kB / 1.066 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.7097, allocations: 7.688 kB / 1.066 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.7121, allocations: 1.904 MB / 1.068 GB, free: 213.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.7121, allocations: 0.875 kB / 1.068 GB, free: 213.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.7125, allocations: 181.2 kB / 1.068 GB, free: 213.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.713, allocations: 162.1 kB / 1.068 GB, free: 213.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.713, allocations: 30.5 kB / 1.068 GB, free: 213.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.7146, allocations: 3.686 MB / 1.072 GB, free: 210.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.7146, allocations: 0 / 1.072 GB, free: 210.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.7159, allocations: 1.015 MB / 1.073 GB, free: 209.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.7163, allocations: 233.9 kB / 1.073 GB, free: 209.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.335e-05/0.7164, allocations: 34.38 kB / 1.073 GB, free: 209.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.7167, allocations: 57.56 kB / 1.073 GB, free: 209.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.7169, allocations: 94.23 kB / 1.073 GB, free: 209.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/0.7169, allocations: 40.8 kB / 1.073 GB, free: 209.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004002/0.7173, allocations: 461.5 kB / 1.074 GB, free: 209.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.7173, allocations: 2.844 kB / 1.074 GB, free: 209.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001211/0.7185, allocations: 474.5 kB / 1.074 GB, free: 209.2 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.001595/0.7201, allocations: 0.7371 MB / 1.075 GB, free: 209.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.7215, allocations: 0.931 MB / 1.076 GB, free: 208.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.7216, allocations: 3.25 kB / 1.076 GB, free: 208.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.7222, allocations: 0.691 MB / 1.076 GB, free: 208.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.7232, allocations: 400.2 kB / 1.077 GB, free: 208 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.7266, allocations: 1.872 MB / 1.079 GB, free: 207.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.7267, allocations: 229.6 kB / 1.079 GB, free: 207 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007684/0.7275, allocations: 288.6 kB / 1.079 GB, free: 206.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.7277, allocations: 132.6 kB / 1.079 GB, free: 206.9 MB / 1.01 GB Notification: Performance of SimCode: time 3.316e-06/0.7277, allocations: 0 / 1.079 GB, free: 206.9 MB / 1.01 GB Notification: Performance of Templates: time 0.03591/0.7636, allocations: 20.79 MB / 1.099 GB, free: 204.5 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.914241442922503]