Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001309/0.001309, 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.001312/0.001312, 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.9201/0.9201, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.337/2.337, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.47e-05, allocations: 12.64 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1421/0.1421, allocations: 150.3 MB / 0.9853 GB, free: 7.371 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.1588, allocations: 15.54 MB / 1 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.1604, allocations: 39.69 kB / 1.001 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.1615, allocations: 420.4 kB / 1.001 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.1647, allocations: 1.495 MB / 1.002 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.1674, allocations: 1.453 MB / 1.004 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003214/0.1706, allocations: 2.94 MB / 1.007 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.1724, allocations: 1.589 MB / 1.008 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.1757, allocations: 2.07 MB / 1.01 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1768, allocations: 0.8802 MB / 1.011 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.1771, allocations: 216 kB / 1.011 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.1789, allocations: 1.092 MB / 1.012 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0004736/0.1793, allocations: 0.814 MB / 1.013 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0006831/0.18, allocations: 0.83 MB / 1.014 GB, free: 9.992 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.1833, allocations: 2.608 MB / 1.017 GB, free: 7.375 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1833, allocations: 0 / 1.017 GB, free: 7.375 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1833, allocations: 0 / 1.017 GB, free: 7.375 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.1833, allocations: 4 kB / 1.017 GB, free: 7.371 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.002695/0.186, allocations: 2.648 MB / 1.019 GB, free: 4.676 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.186, allocations: 12.03 kB / 1.019 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.1881, allocations: 0.81 MB / 1.02 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.1895, allocations: 1.1 MB / 1.021 GB, free: 2.699 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/0.1896, allocations: 131.4 kB / 1.021 GB, free: 2.57 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.1897, allocations: 192 kB / 1.021 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.1914, allocations: 1.984 MB / 1.023 GB, free: 180 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.1914, allocations: 3.938 kB / 1.023 GB, free: 176 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/0.1915, allocations: 72 kB / 1.023 GB, free: 104 kB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.1915, allocations: 44 kB / 1.023 GB, free: 60 kB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.1925, allocations: 0.8671 MB / 1.024 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/0.1967, allocations: 3.002 MB / 1.027 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008901/0.1976, allocations: 0.7352 MB / 1.028 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.1979, allocations: 283.6 kB / 1.028 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.1981, allocations: 85.25 kB / 1.028 GB, free: 11 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007715/0.1989, allocations: 1.191 MB / 1.029 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=154): time 4.228e-06/0.1989, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154): time 0.002081/0.201, allocations: 1.157 MB / 1.031 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.201, allocations: 209.2 kB / 1.031 GB, free: 8.223 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.2022, allocations: 1.12 MB / 1.032 GB, free: 7.078 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-05/0.2023, allocations: 65.7 kB / 1.032 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.2027, allocations: 0.6236 MB / 1.032 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.203, allocations: 0.5189 MB / 1.033 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.2032, allocations: 251.4 kB / 1.033 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.2033, allocations: 369.7 kB / 1.034 GB, free: 5.227 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.2035, allocations: 166.7 kB / 1.034 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.2039, allocations: 0.6631 MB / 1.034 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.2045, allocations: 0.553 MB / 1.035 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.2045, allocations: 0 / 1.035 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001102/0.2056, allocations: 0.8242 MB / 1.036 GB, free: 2.871 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2056, allocations: 4 kB / 1.036 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2056, allocations: 0 / 1.036 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.2062, allocations: 267.9 kB / 1.036 GB, free: 2.59 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.207, allocations: 315.6 kB / 1.036 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/0.21, allocations: 6.05 MB / 1.042 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/0.2108, allocations: 135.3 kB / 1.042 GB, free: 11.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.2108, allocations: 35.97 kB / 1.042 GB, free: 11.63 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.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 (165): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005367/0.2114, allocations: 219 kB / 1.043 GB, free: 11.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.2116, allocations: 155.8 kB / 1.043 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.2128, allocations: 1.074 MB / 1.044 GB, free: 10.14 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.2129, allocations: 19.94 kB / 1.044 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2129, allocations: 0 / 1.044 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.2129, allocations: 7.969 kB / 1.044 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.2158, allocations: 2.047 MB / 1.046 GB, free: 8.016 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2158, allocations: 4 kB / 1.046 GB, free: 8.012 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/0.2164, allocations: 287.6 kB / 1.046 GB, free: 7.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005426/0.217, allocations: 244 kB / 1.046 GB, free: 7.477 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.217, allocations: 31.97 kB / 1.046 GB, free: 7.445 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.2198, allocations: 6.075 MB / 1.052 GB, free: 0.9258 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2198, allocations: 0 / 1.052 GB, free: 0.9258 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4412/0.661, allocations: 1.002 MB / 1.053 GB, free: 77.41 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/0.6619, allocations: 286.7 kB / 1.054 GB, free: 77.41 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.6621, allocations: 38 kB / 1.054 GB, free: 77.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.6627, allocations: 66.72 kB / 1.054 GB, free: 77.41 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.6629, allocations: 116.4 kB / 1.054 GB, free: 77.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.663, allocations: 53.47 kB / 1.054 GB, free: 77.41 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007371/0.6638, allocations: 0.6139 MB / 1.054 GB, free: 77.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6638, allocations: 0 / 1.054 GB, free: 77.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001562/0.6653, allocations: 0.7061 MB / 1.055 GB, free: 77.36 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 (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.00184/0.6672, allocations: 0.8874 MB / 1.056 GB, free: 77.24 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.6687, allocations: 1.253 MB / 1.057 GB, free: 76.66 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-05/0.6687, allocations: 17.61 kB / 1.057 GB, free: 76.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.6695, allocations: 1 MB / 1.058 GB, free: 76.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.6709, allocations: 0.5534 MB / 1.059 GB, free: 76.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.6756, allocations: 3.262 MB / 1.062 GB, free: 74.63 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.6761, allocations: 430.7 kB / 1.062 GB, free: 74.52 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001218/0.6774, allocations: 363.3 kB / 1.063 GB, free: 74.47 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/0.6786, allocations: 0.5745 MB / 1.063 GB, free: 74.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.603e-06/0.6786, allocations: 0 / 1.063 GB, free: 74.41 MB / 1.01 GB Notification: Performance of Templates: time 0.04983/0.7284, allocations: 34.41 MB / 1.097 GB, free: 71.34 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.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.012867141049355]