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.0009534/0.0009534, allocations: 93.06 kB / 19.65 MB, free: 272 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.001094/0.001094, allocations: 165 kB / 23.02 MB, free: 1.543 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.9917/0.9917, allocations: 177.1 MB / 203.4 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.093/2.093, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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,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.833e-06/1.833e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.475e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1402/0.1402, allocations: 151 MB / 1.026 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.1581, allocations: 15.54 MB / 1.041 GB, free: 15.2 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.1597, allocations: 39.69 kB / 1.041 GB, free: 15.16 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1609, allocations: 420.3 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.1647, allocations: 1.48 MB / 1.043 GB, free: 13.26 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.1676, allocations: 1.449 MB / 1.044 GB, free: 11.81 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003426/0.171, allocations: 2.936 MB / 1.047 GB, free: 8.863 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.1732, allocations: 1.561 MB / 1.049 GB, free: 7.246 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.1772, allocations: 2.04 MB / 1.051 GB, free: 5.32 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.1786, allocations: 0.9231 MB / 1.051 GB, free: 4.395 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004152/0.179, allocations: 232 kB / 1.052 GB, free: 4.168 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.1812, allocations: 1.107 MB / 1.053 GB, free: 3.059 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005897/0.1818, allocations: 0.8413 MB / 1.054 GB, free: 2.215 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.1827, allocations: 0.8339 MB / 1.054 GB, free: 1.379 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.5258/0.7086, allocations: 2.652 MB / 1.057 GB, free: 55.68 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.7086, allocations: 0 / 1.057 GB, free: 55.68 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7086, allocations: 0 / 1.057 GB, free: 55.68 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000145/0.7087, allocations: 0 / 1.057 GB, free: 55.68 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.004356/0.7131, allocations: 2.848 MB / 1.06 GB, free: 54.26 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.7131, allocations: 11.53 kB / 1.06 GB, free: 54.26 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.7157, allocations: 0.86 MB / 1.061 GB, free: 54.01 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.7176, allocations: 1.377 MB / 1.062 GB, free: 53.6 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.7177, allocations: 132.3 kB / 1.062 GB, free: 53.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.7178, allocations: 188.3 kB / 1.062 GB, free: 53.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.7198, allocations: 2.17 MB / 1.064 GB, free: 52.42 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.7199, allocations: 1.125 kB / 1.064 GB, free: 52.42 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.72, allocations: 79.75 kB / 1.064 GB, free: 52.42 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.72, allocations: 42.41 kB / 1.064 GB, free: 52.42 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.7215, allocations: 1.205 MB / 1.066 GB, free: 52.39 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.7271, allocations: 4.2 MB / 1.07 GB, free: 51.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.7285, allocations: 0.8759 MB / 1.071 GB, free: 51.18 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.729, allocations: 375.3 kB / 1.071 GB, free: 51.17 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.7292, allocations: 80.95 kB / 1.071 GB, free: 51.16 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009035/0.7301, allocations: 1.265 MB / 1.072 GB, free: 50.32 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.018e-06/0.7301, allocations: 0.9375 kB / 1.072 GB, free: 50.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.003358/0.7335, allocations: 1.676 MB / 1.074 GB, free: 50.08 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.7335, allocations: 209.8 kB / 1.074 GB, free: 49.86 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.7347, allocations: 1.29 MB / 1.075 GB, free: 49.61 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.7349, allocations: 69.48 kB / 1.075 GB, free: 49.58 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.7354, allocations: 0.9139 MB / 1.076 GB, free: 49.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.7356, allocations: 0.5168 MB / 1.077 GB, free: 48.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/0.7359, allocations: 283.8 kB / 1.077 GB, free: 48.83 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.736, allocations: 0.5274 MB / 1.078 GB, free: 48.35 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.7364, allocations: 256.7 kB / 1.078 GB, free: 48.35 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.737, allocations: 0.9326 MB / 1.079 GB, free: 47.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.738, allocations: 0.6848 MB / 1.079 GB, free: 47.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.738, allocations: 3.031 kB / 1.079 GB, free: 47.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002041/0.74, allocations: 1.245 MB / 1.081 GB, free: 47.28 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.74, allocations: 8.125 kB / 1.081 GB, free: 47.28 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.74, allocations: 0.9375 kB / 1.081 GB, free: 47.28 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000839/0.7409, allocations: 274.3 kB / 1.081 GB, free: 47.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008472/0.7417, allocations: 346.7 kB / 1.081 GB, free: 47.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.7449, allocations: 8.965 MB / 1.09 GB, free: 38.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/0.7458, allocations: 131.5 kB / 1.09 GB, free: 38.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.7459, allocations: 64.58 kB / 1.09 GB, free: 38.52 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 (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.0005688/0.7464, allocations: 254.8 kB / 1.09 GB, free: 38.34 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.7467, allocations: 235.6 kB / 1.091 GB, free: 38.25 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.7488, allocations: 1.473 MB / 1.092 GB, free: 38.05 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.7488, allocations: 16.16 kB / 1.092 GB, free: 38.05 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7488, allocations: 3.406 kB / 1.092 GB, free: 38.05 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.7488, allocations: 9.984 kB / 1.092 GB, free: 38.05 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/0.7529, allocations: 2.914 MB / 1.095 GB, free: 37.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.7529, allocations: 1.406 kB / 1.095 GB, free: 37.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.7537, allocations: 313 kB / 1.095 GB, free: 37.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007003/0.7544, allocations: 268.9 kB / 1.096 GB, free: 37.44 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/0.7545, allocations: 40.06 kB / 1.096 GB, free: 37.44 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/0.7574, allocations: 8.989 MB / 1.104 GB, free: 28.77 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7574, allocations: 1.641 kB / 1.104 GB, free: 28.77 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.7598, allocations: 1.47 MB / 1.106 GB, free: 28.35 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/0.7605, allocations: 388 kB / 1.106 GB, free: 28.23 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.7606, allocations: 36.31 kB / 1.106 GB, free: 28.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.7612, allocations: 80.45 kB / 1.106 GB, free: 28.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.7615, allocations: 124.9 kB / 1.106 GB, free: 28.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.7616, allocations: 70.58 kB / 1.106 GB, free: 28.23 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001048/0.7626, allocations: 0.8195 MB / 1.107 GB, free: 28.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7626, allocations: 2 kB / 1.107 GB, free: 28.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001778/0.7644, allocations: 0.7189 MB / 1.108 GB, free: 27.95 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.001639/0.766, allocations: 0.7539 MB / 1.109 GB, free: 27.77 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.7681, allocations: 1.723 MB / 1.11 GB, free: 26.86 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.7681, allocations: 4.328 kB / 1.11 GB, free: 26.86 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.7692, allocations: 1.38 MB / 1.112 GB, free: 25.98 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.7708, allocations: 0.5677 MB / 1.112 GB, free: 25.91 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.776, allocations: 3.305 MB / 1.116 GB, free: 24.45 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.7763, allocations: 432.4 kB / 1.116 GB, free: 24.34 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001412/0.7778, allocations: 451.7 kB / 1.116 GB, free: 24.27 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/0.7782, allocations: 176.9 kB / 1.117 GB, free: 24.26 MB / 1.01 GB Notification: Performance of SimCode: time 2.114e-06/0.7782, allocations: 0 / 1.117 GB, free: 24.26 MB / 1.01 GB Notification: Performance of Templates: time 0.04603/0.8242, allocations: 32.05 MB / 1.148 GB, free: 20.98 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.410230485256761]