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.001403/0.001403, 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.001034/0.001034, allocations: 169 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 0.9968/0.9968, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.126/2.126, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.335e-06/2.335e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.826e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.152/0.1521, allocations: 148.3 MB / 1.023 GB, free: 1.426 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.1629, allocations: 8.9 MB / 1.032 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008541/0.1638, allocations: 27.75 kB / 1.032 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008829/0.1647, allocations: 277.6 kB / 1.032 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.1671, allocations: 1.022 MB / 1.033 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.1694, allocations: 1.118 MB / 1.034 GB, free: 6.051 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1711, allocations: 1.803 MB / 1.036 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.1722, allocations: 0.9202 MB / 1.037 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.1739, allocations: 1.114 MB / 1.038 GB, free: 2.215 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.1744, allocations: 494.6 kB / 1.038 GB, free: 1.73 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.1745, allocations: 132 kB / 1.038 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.176, allocations: 1.01 MB / 1.039 GB, free: 0.5898 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.1762, allocations: 390.7 kB / 1.04 GB, free: 212 kB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.1765, allocations: 454.8 kB / 1.04 GB, free: 15.76 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.1784, allocations: 1.799 MB / 1.042 GB, free: 13.96 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1784, allocations: 0 / 1.042 GB, free: 13.96 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1784, allocations: 3.938 kB / 1.042 GB, free: 13.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.1784, allocations: 4 kB / 1.042 GB, free: 13.95 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.00199/0.1804, allocations: 1.784 MB / 1.044 GB, free: 12.12 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1804, allocations: 12.03 kB / 1.044 GB, free: 12.11 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.1816, allocations: 442.1 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.1827, allocations: 0.8273 MB / 1.045 GB, free: 10.82 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.1828, allocations: 78 kB / 1.045 GB, free: 10.74 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.1829, allocations: 107.9 kB / 1.045 GB, free: 10.64 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.1841, allocations: 1.186 MB / 1.046 GB, free: 9.32 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1841, allocations: 0 / 1.046 GB, free: 9.32 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.1842, allocations: 36 kB / 1.046 GB, free: 9.285 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.1842, allocations: 27.94 kB / 1.046 GB, free: 9.258 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.1852, allocations: 0.8622 MB / 1.047 GB, free: 8.395 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.1884, allocations: 2.632 MB / 1.05 GB, free: 5.695 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009109/0.1894, allocations: 0.6135 MB / 1.05 GB, free: 5.078 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.1897, allocations: 234.5 kB / 1.051 GB, free: 4.848 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.1898, allocations: 64.95 kB / 1.051 GB, free: 4.785 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006153/0.1904, allocations: 0.6751 MB / 1.051 GB, free: 4.031 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 2.395e-06/0.1904, allocations: 0 / 1.051 GB, free: 4.031 MB / 1.01 GB Notification: Performance of matching and sorting (n=103): time 0.001922/0.1924, allocations: 1.03 MB / 1.052 GB, free: 2.988 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.1924, allocations: 212.8 kB / 1.053 GB, free: 2.734 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.193, allocations: 0.683 MB / 1.053 GB, free: 2.039 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.1931, allocations: 57.7 kB / 1.053 GB, free: 1.977 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.1933, allocations: 0.5157 MB / 1.054 GB, free: 1.453 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.1935, allocations: 349 kB / 1.054 GB, free: 1.109 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.1938, allocations: 208.2 kB / 1.054 GB, free: 0.8984 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1939, allocations: 0.516 MB / 1.055 GB, free: 384 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.1942, allocations: 165.9 kB / 1.055 GB, free: 220 kB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5045/0.6987, allocations: 487 kB / 1.055 GB, free: 71.58 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008379/0.6995, allocations: 461.7 kB / 1.056 GB, free: 71.53 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.6995, allocations: 0 / 1.056 GB, free: 71.53 MB / 1.01 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001524/0.701, allocations: 0.8016 MB / 1.057 GB, free: 71.46 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.7011, allocations: 5.75 kB / 1.057 GB, free: 71.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.7011, allocations: 3.922 kB / 1.057 GB, free: 71.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.7017, allocations: 172.8 kB / 1.057 GB, free: 71.44 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.7023, allocations: 215.5 kB / 1.057 GB, free: 71.44 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.7042, allocations: 3.666 MB / 1.061 GB, free: 67.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.7047, allocations: 100.9 kB / 1.061 GB, free: 67.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.7048, allocations: 40.47 kB / 1.061 GB, free: 67.98 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.0003499/0.7051, allocations: 235.8 kB / 1.061 GB, free: 67.81 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.7053, allocations: 135.7 kB / 1.061 GB, free: 67.81 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.7066, allocations: 0.9728 MB / 1.062 GB, free: 67.72 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.7066, allocations: 11.25 kB / 1.062 GB, free: 67.72 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7067, allocations: 0.5625 kB / 1.062 GB, free: 67.72 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.7067, allocations: 9.109 kB / 1.062 GB, free: 67.72 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.7089, allocations: 1.873 MB / 1.064 GB, free: 67.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7089, allocations: 3 kB / 1.064 GB, free: 67.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.7093, allocations: 190.4 kB / 1.064 GB, free: 67.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/0.7098, allocations: 156.1 kB / 1.064 GB, free: 67.27 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.7099, allocations: 28.64 kB / 1.064 GB, free: 67.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.7115, allocations: 3.693 MB / 1.068 GB, free: 63.79 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7115, allocations: 0.9062 kB / 1.068 GB, free: 63.79 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.7128, allocations: 1.004 MB / 1.069 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.7131, allocations: 233.7 kB / 1.069 GB, free: 63.45 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.7132, allocations: 25.78 kB / 1.069 GB, free: 63.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.7135, allocations: 49.19 kB / 1.069 GB, free: 63.45 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.7137, allocations: 88.36 kB / 1.069 GB, free: 63.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.7137, allocations: 42.84 kB / 1.069 GB, free: 63.45 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003729/0.7141, allocations: 450.2 kB / 1.07 GB, free: 63.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.7141, allocations: 0 / 1.07 GB, free: 63.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001034/0.7151, allocations: 481.1 kB / 1.07 GB, free: 63.27 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.001671/0.7168, allocations: 0.7341 MB / 1.071 GB, free: 63.13 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.718, allocations: 0.9332 MB / 1.072 GB, free: 62.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.718, allocations: 4.062 kB / 1.072 GB, free: 62.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.7186, allocations: 0.6884 MB / 1.072 GB, free: 62.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009329/0.7196, allocations: 387.6 kB / 1.073 GB, free: 62.36 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.7225, allocations: 1.864 MB / 1.075 GB, free: 61.54 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.7227, allocations: 236.6 kB / 1.075 GB, free: 61.46 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006882/0.7234, allocations: 296.9 kB / 1.075 GB, free: 61.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.7236, allocations: 121 kB / 1.075 GB, free: 61.4 MB / 1.01 GB Notification: Performance of SimCode: time 2.034e-06/0.7236, allocations: 3.688 kB / 1.075 GB, free: 61.4 MB / 1.01 GB Notification: Performance of Templates: time 0.03508/0.7587, allocations: 21.94 MB / 1.097 GB, free: 59.27 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: 7.18856191681698]