Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001411/0.001411, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001789/0.001789, allocations: 181.3 kB / 24.09 MB, free: 416 kB / 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.9564/0.9564, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.618e-05, allocations: 6.25 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1276/0.1277, allocations: 145.6 MB / 0.9541 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.1385, allocations: 8.808 MB / 0.9628 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009438/0.1394, allocations: 31.75 kB / 0.9628 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.1403, allocations: 273.7 kB / 0.963 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002644/0.1429, allocations: 1.033 MB / 0.9641 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.1456, allocations: 1.114 MB / 0.9651 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002516/0.1481, allocations: 1.806 MB / 0.9669 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.1497, allocations: 0.9752 MB / 0.9679 GB, free: 1.305 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.1522, allocations: 1.122 MB / 0.969 GB, free: 224 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008206/0.153, allocations: 494.6 kB / 0.9694 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.1532, allocations: 128 kB / 0.9695 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.1549, allocations: 1.002 MB / 0.9705 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.1552, allocations: 390.7 kB / 0.9709 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.1557, allocations: 458.8 kB / 0.9713 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.1589, allocations: 1.802 MB / 0.9731 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1589, allocations: 0 / 0.9731 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1589, allocations: 4 kB / 0.9731 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.238e-05/0.159, allocations: 4 kB / 0.9731 GB, free: 11.95 MB / 0.9323 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.002157/0.1611, allocations: 1.799 MB / 0.9749 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1611, allocations: 12.03 kB / 0.9749 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.1624, allocations: 446.1 kB / 0.9753 GB, free: 9.66 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/0.1633, allocations: 0.8311 MB / 0.9761 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.1633, allocations: 78 kB / 0.9762 GB, free: 8.723 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.1634, allocations: 104 kB / 0.9763 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/0.1644, allocations: 1.112 MB / 0.9774 GB, free: 7.379 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1644, allocations: 0 / 0.9774 GB, free: 7.379 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.1644, allocations: 44 kB / 0.9774 GB, free: 7.336 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.1644, allocations: 31.94 kB / 0.9774 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.1652, allocations: 0.7391 MB / 0.9782 GB, free: 6.566 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.1681, allocations: 2.491 MB / 0.9806 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.1688, allocations: 0.5256 MB / 0.9811 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.169, allocations: 201.1 kB / 0.9813 GB, free: 3.293 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.1691, allocations: 80.83 kB / 0.9814 GB, free: 3.215 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000619/0.1698, allocations: 0.6553 MB / 0.982 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=103): time 2.164e-06/0.1698, allocations: 0 / 0.982 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.001571/0.1713, allocations: 0.9363 MB / 0.9829 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.1714, allocations: 200.9 kB / 0.9831 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.1719, allocations: 0.6708 MB / 0.9838 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.172, allocations: 53.69 kB / 0.9838 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.1722, allocations: 0.5117 MB / 0.9843 GB, free: 24 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.1724, allocations: 353.2 kB / 0.9847 GB, free: 15.67 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.1726, allocations: 212.1 kB / 0.9849 GB, free: 15.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003944/0.173, allocations: 0.5198 MB / 0.9854 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.1732, allocations: 129.9 kB / 0.9855 GB, free: 14.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.1735, allocations: 456.4 kB / 0.9859 GB, free: 14.28 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.1739, allocations: 391 kB / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1739, allocations: 0 / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.000943/0.1748, allocations: 0.7226 MB / 0.987 GB, free: 13.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1748, allocations: 4 kB / 0.987 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.1748, allocations: 8.078 kB / 0.987 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/0.1753, allocations: 159.2 kB / 0.9872 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.1758, allocations: 223.7 kB / 0.9874 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.1778, allocations: 3.636 MB / 0.9909 GB, free: 8.891 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.1782, allocations: 87.48 kB / 0.991 GB, free: 8.805 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.1782, allocations: 40.08 kB / 0.9911 GB, free: 8.766 MB / 0.948 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.0003503/0.1786, allocations: 223 kB / 0.9913 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.1788, allocations: 143.3 kB / 0.9914 GB, free: 8.395 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.1802, allocations: 0.9093 MB / 0.9923 GB, free: 7.465 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1802, allocations: 12 kB / 0.9923 GB, free: 7.453 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1802, allocations: 4 kB / 0.9923 GB, free: 7.449 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1802, allocations: 7.969 kB / 0.9923 GB, free: 7.441 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.1822, allocations: 1.702 MB / 0.994 GB, free: 5.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1822, allocations: 0 / 0.994 GB, free: 5.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.1825, allocations: 183.8 kB / 0.9942 GB, free: 5.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003969/0.1829, allocations: 151.2 kB / 0.9943 GB, free: 5.344 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.183, allocations: 31.97 kB / 0.9943 GB, free: 5.312 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.1847, allocations: 3.636 MB / 0.9979 GB, free: 1.441 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1847, allocations: 0 / 0.9979 GB, free: 1.441 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1857, allocations: 0.9347 MB / 0.9988 GB, free: 496 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.1863, allocations: 230.9 kB / 0.999 GB, free: 264 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.1864, allocations: 27.98 kB / 0.999 GB, free: 236 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.1867, allocations: 51.91 kB / 0.9991 GB, free: 184 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1868, allocations: 88.83 kB / 0.9992 GB, free: 92 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.1869, allocations: 31.98 kB / 0.9992 GB, free: 60 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003025/0.1872, allocations: 426.8 kB / 0.9996 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1872, allocations: 0 / 0.9996 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0009692/0.1881, allocations: 478.8 kB / 1 GB, free: 15.18 MB / 0.9636 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.001366/0.1895, allocations: 0.7508 MB / 1.001 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.1905, allocations: 0.8565 MB / 1.002 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.1905, allocations: 416 / 1.002 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.1911, allocations: 0.6513 MB / 1.002 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008882/0.1919, allocations: 394.8 kB / 1.003 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.1947, allocations: 1.841 MB / 1.004 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.1948, allocations: 243.9 kB / 1.005 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006236/0.1955, allocations: 219.9 kB / 1.005 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/0.1962, allocations: 453.8 kB / 1.005 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of SimCode: time 1.473e-06/0.1962, allocations: 0 / 1.005 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of Templates: time 0.02779/0.224, allocations: 22.54 MB / 1.027 GB, free: 3.695 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.920859067235142]