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.001324/0.001324, 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.001689/0.001689, 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.9848/0.9848, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.506/2.506, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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.774e-06/1.774e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.705e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1644/0.1644, allocations: 150.3 MB / 0.9854 GB, free: 7.223 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.1807, allocations: 15.51 MB / 1.001 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.1819, allocations: 35.69 kB / 1.001 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009748/0.1829, allocations: 420.4 kB / 1.001 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.1858, allocations: 1.453 MB / 1.002 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.1881, allocations: 1.418 MB / 1.004 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002303/0.1904, allocations: 2.959 MB / 1.007 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.1928, allocations: 1.84 MB / 1.009 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.1949, allocations: 1.891 MB / 1.01 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008733/0.1958, allocations: 0.8763 MB / 1.011 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.196, allocations: 220 kB / 1.011 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.1977, allocations: 1.162 MB / 1.013 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005288/0.1983, allocations: 0.814 MB / 1.013 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.000727/0.199, allocations: 0.8183 MB / 1.014 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.2014, allocations: 2.608 MB / 1.017 GB, free: 7.211 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2014, allocations: 4 kB / 1.017 GB, free: 7.207 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2014, allocations: 0 / 1.017 GB, free: 7.207 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.2014, allocations: 3.938 kB / 1.017 GB, free: 7.203 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.002397/0.2038, allocations: 2.644 MB / 1.019 GB, free: 4.512 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2038, allocations: 12.03 kB / 1.019 GB, free: 4.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/0.2066, allocations: 0.81 MB / 1.02 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.2077, allocations: 1.108 MB / 1.021 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.2078, allocations: 131.4 kB / 1.021 GB, free: 2.398 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.208, allocations: 184 kB / 1.021 GB, free: 2.219 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.2094, allocations: 1.987 MB / 1.023 GB, free: 8 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.2094, allocations: 0 / 1.023 GB, free: 8 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.2095, allocations: 80.06 kB / 1.023 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.2096, allocations: 40 kB / 1.024 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009695/0.2105, allocations: 0.8671 MB / 1.024 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.2142, allocations: 3.007 MB / 1.027 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/0.215, allocations: 0.7281 MB / 1.028 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.2153, allocations: 283.6 kB / 1.028 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.2155, allocations: 77.27 kB / 1.028 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007708/0.2162, allocations: 1.196 MB / 1.03 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=154): time 2.735e-06/0.2162, allocations: 4 kB / 1.03 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154): time 0.001993/0.2182, allocations: 1.157 MB / 1.031 GB, free: 8.297 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.2183, allocations: 209.2 kB / 1.031 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.2191, allocations: 1.124 MB / 1.032 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-05/0.2192, allocations: 61.7 kB / 1.032 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.2195, allocations: 0.6197 MB / 1.033 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.2198, allocations: 0.5189 MB / 1.033 GB, free: 5.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.2201, allocations: 255.4 kB / 1.033 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2202, allocations: 365.8 kB / 1.034 GB, free: 5.059 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.2204, allocations: 170.7 kB / 1.034 GB, free: 4.891 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.2208, allocations: 0.6592 MB / 1.035 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.2214, allocations: 0.5569 MB / 1.035 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2214, allocations: 4 kB / 1.035 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001094/0.2225, allocations: 0.8125 MB / 1.036 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2225, allocations: 11.94 kB / 1.036 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2225, allocations: 0 / 1.036 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/0.2232, allocations: 259.9 kB / 1.036 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008763/0.2241, allocations: 371.5 kB / 1.036 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.2271, allocations: 6.052 MB / 1.042 GB, free: 11.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.2276, allocations: 127.2 kB / 1.043 GB, free: 11.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.2277, allocations: 43.95 kB / 1.043 GB, free: 11.41 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.0003126/0.228, allocations: 215 kB / 1.043 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.2281, allocations: 151.8 kB / 1.043 GB, free: 11.04 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.2296, allocations: 1.074 MB / 1.044 GB, free: 9.93 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.2296, allocations: 19.94 kB / 1.044 GB, free: 9.91 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2296, allocations: 4 kB / 1.044 GB, free: 9.906 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.2296, allocations: 7.969 kB / 1.044 GB, free: 9.898 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.2323, allocations: 2.047 MB / 1.046 GB, free: 7.797 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.2323, allocations: 4 kB / 1.046 GB, free: 7.793 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.2331, allocations: 360 kB / 1.046 GB, free: 7.438 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005641/0.2337, allocations: 240 kB / 1.047 GB, free: 7.188 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.2338, allocations: 35.97 kB / 1.047 GB, free: 7.152 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/0.2373, allocations: 6.085 MB / 1.053 GB, free: 0.625 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2373, allocations: 0 / 1.053 GB, free: 0.625 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4706/0.7079, allocations: 1.001 MB / 1.054 GB, free: 77.55 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/0.7087, allocations: 286.3 kB / 1.054 GB, free: 77.55 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.7089, allocations: 37.53 kB / 1.054 GB, free: 77.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005705/0.7095, allocations: 69.02 kB / 1.054 GB, free: 77.55 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.7098, allocations: 112.8 kB / 1.054 GB, free: 77.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.7099, allocations: 56.02 kB / 1.054 GB, free: 77.54 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006962/0.7106, allocations: 0.5896 MB / 1.055 GB, free: 77.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7106, allocations: 1.469 kB / 1.055 GB, free: 77.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001687/0.7123, allocations: 0.7111 MB / 1.055 GB, free: 77.5 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.001906/0.7142, allocations: 0.8829 MB / 1.056 GB, free: 77.38 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.7157, allocations: 1.258 MB / 1.057 GB, free: 76.78 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-05/0.7158, allocations: 16.84 kB / 1.057 GB, free: 76.78 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.7166, allocations: 0.9995 MB / 1.058 GB, free: 76.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.7179, allocations: 0.5573 MB / 1.059 GB, free: 76.16 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.7225, allocations: 3.265 MB / 1.062 GB, free: 74.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.7229, allocations: 431.2 kB / 1.063 GB, free: 74.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001019/0.7239, allocations: 359 kB / 1.063 GB, free: 74.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/0.7252, allocations: 0.5745 MB / 1.063 GB, free: 74.53 MB / 1.01 GB Notification: Performance of SimCode: time 1.353e-06/0.7252, allocations: 0 / 1.063 GB, free: 74.53 MB / 1.01 GB Notification: Performance of Templates: time 0.04526/0.7705, allocations: 34.41 MB / 1.097 GB, free: 71.46 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 -s gbode -gbm=radauIIA3 -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.293689690995961]