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.0009643/0.0009643, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009191/0.0009191, allocations: 177 kB / 23.36 MB, free: 1.129 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.9049/0.9049, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.314/2.314, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.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.714e-06/1.714e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.639e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1541/0.1541, allocations: 147.6 MB / 0.9828 GB, free: 9.984 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.009761/0.1639, allocations: 8.94 MB / 0.9915 GB, free: 1.016 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008884/0.1648, allocations: 27.81 kB / 0.9915 GB, free: 0.9883 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007341/0.1655, allocations: 269.6 kB / 0.9918 GB, free: 0.7227 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.1677, allocations: 1.03 MB / 0.9928 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.1697, allocations: 1.114 MB / 0.9939 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.1712, allocations: 1.799 MB / 0.9956 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.1722, allocations: 0.9397 MB / 0.9965 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.174, allocations: 1.109 MB / 0.9976 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.1747, allocations: 486.6 kB / 0.9981 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.1748, allocations: 132 kB / 0.9982 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.1764, allocations: 1.01 MB / 0.9992 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.1767, allocations: 386.7 kB / 0.9996 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.177, allocations: 454.8 kB / 1 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.1795, allocations: 1.795 MB / 1.002 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1795, allocations: 7.938 kB / 1.002 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1795, allocations: 0 / 1.002 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.447e-05/0.1795, allocations: 0 / 1.002 GB, free: 6.473 MB / 0.9636 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.001997/0.1815, allocations: 1.639 MB / 1.003 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1816, allocations: 12.03 kB / 1.003 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.1828, allocations: 414.8 kB / 1.004 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.1836, allocations: 0.6673 MB / 1.004 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.1837, allocations: 93.91 kB / 1.005 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.1838, allocations: 104 kB / 1.005 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.1847, allocations: 1.102 MB / 1.006 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1847, allocations: 0 / 1.006 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.1847, allocations: 44 kB / 1.006 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.1847, allocations: 27.94 kB / 1.006 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007053/0.1855, allocations: 0.6404 MB / 1.006 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.188, allocations: 1.884 MB / 1.008 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.1886, allocations: 0.5212 MB / 1.009 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1888, allocations: 174.3 kB / 1.009 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.1889, allocations: 60.95 kB / 1.009 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/0.1894, allocations: 0.643 MB / 1.01 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=103): time 2.485e-06/0.1894, allocations: 0 / 1.01 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of matching and sorting (n=103): time 0.001279/0.1906, allocations: 0.7056 MB / 1.01 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.1907, allocations: 200.9 kB / 1.01 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.1912, allocations: 0.6069 MB / 1.011 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.1912, allocations: 53.7 kB / 1.011 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1914, allocations: 375.3 kB / 1.011 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.1917, allocations: 345 kB / 1.012 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.1919, allocations: 194.4 kB / 1.012 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.192, allocations: 349.8 kB / 1.012 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.1921, allocations: 112.8 kB / 1.012 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.1924, allocations: 404.7 kB / 1.013 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.1928, allocations: 377.2 kB / 1.013 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1928, allocations: 4 kB / 1.013 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0007201/0.1935, allocations: 0.5388 MB / 1.014 GB, free: 9.758 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1935, allocations: 4 kB / 1.014 GB, free: 9.754 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1935, allocations: 4 kB / 1.014 GB, free: 9.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004527/0.194, allocations: 153.6 kB / 1.014 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.1944, allocations: 219.6 kB / 1.014 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.1959, allocations: 2.502 MB / 1.017 GB, free: 6.699 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.1963, allocations: 87.48 kB / 1.017 GB, free: 6.613 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.1963, allocations: 31.97 kB / 1.017 GB, free: 6.582 MB / 0.9792 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002714/0.1966, allocations: 179.1 kB / 1.017 GB, free: 6.395 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1967, allocations: 103.8 kB / 1.017 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009006/0.1976, allocations: 0.7144 MB / 1.018 GB, free: 5.562 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1976, allocations: 12 kB / 1.018 GB, free: 5.551 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1976, allocations: 3.984 kB / 1.018 GB, free: 5.547 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1976, allocations: 3.984 kB / 1.018 GB, free: 5.543 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.1994, allocations: 1.383 MB / 1.019 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1994, allocations: 0 / 1.019 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.1997, allocations: 175.8 kB / 1.019 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003524/0.2001, allocations: 137.6 kB / 1.019 GB, free: 3.809 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.2001, allocations: 27.97 kB / 1.019 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.2014, allocations: 2.508 MB / 1.022 GB, free: 1.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2014, allocations: 7.984 kB / 1.022 GB, free: 1.082 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.2021, allocations: 0.6996 MB / 1.022 GB, free: 368 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.2024, allocations: 167 kB / 1.023 GB, free: 200 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/0.2025, allocations: 27.94 kB / 1.023 GB, free: 172 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.2027, allocations: 51.95 kB / 1.023 GB, free: 120 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.2028, allocations: 76.84 kB / 1.023 GB, free: 44 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.2029, allocations: 35.97 kB / 1.023 GB, free: 8 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002476/0.2031, allocations: 307.3 kB / 1.023 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2031, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008609/0.204, allocations: 466.9 kB / 1.024 GB, free: 15.25 MB / 0.9948 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.001641/0.2056, allocations: 0.8828 MB / 1.024 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008361/0.2064, allocations: 0.6797 MB / 1.025 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.2065, allocations: 8 kB / 1.025 GB, free: 13.92 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.2069, allocations: 0.5211 MB / 1.026 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009796/0.2079, allocations: 361.3 kB / 1.026 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.2104, allocations: 1.836 MB / 1.028 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.2106, allocations: 235.8 kB / 1.028 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005897/0.2112, allocations: 227.7 kB / 1.028 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/0.2118, allocations: 376.9 kB / 1.028 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of SimCode: time 1.704e-06/0.2118, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.02761/0.2394, allocations: 22.35 MB / 1.05 GB, free: 4.34 MB / 1.01 GB " [Timeout remaining time 300] 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.716340317390859]