Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009552/0.0009552, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.000956/0.000956, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9573/0.9573, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.787/1.787, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.624e-05, allocations: 5.75 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1382/0.1382, allocations: 151.1 MB / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.1536, allocations: 15.55 MB / 0.9742 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.1549, allocations: 43.62 kB / 0.9743 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0009903/0.1559, allocations: 420.3 kB / 0.9747 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.1591, allocations: 1.503 MB / 0.9762 GB, free: 8.602 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.1623, allocations: 1.457 MB / 0.9776 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003682/0.1659, allocations: 2.959 MB / 0.9805 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.1682, allocations: 1.638 MB / 0.9821 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.1715, allocations: 2.093 MB / 0.9841 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1726, allocations: 0.8957 MB / 0.985 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.1729, allocations: 216 kB / 0.9852 GB, free: 15.42 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.1746, allocations: 1.104 MB / 0.9863 GB, free: 14.31 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006283/0.1753, allocations: 0.8179 MB / 0.9871 GB, free: 13.49 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008081/0.1761, allocations: 0.8222 MB / 0.9879 GB, free: 12.67 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.179, allocations: 2.623 MB / 0.9904 GB, free: 10.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.179, allocations: 0 / 0.9904 GB, free: 10.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.179, allocations: 0 / 0.9904 GB, free: 10.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.815e-05/0.1791, allocations: 0 / 0.9904 GB, free: 10.04 MB / 0.948 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.003187/0.1822, allocations: 2.851 MB / 0.9932 GB, free: 7.121 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1823, allocations: 8.031 kB / 0.9932 GB, free: 7.113 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.1846, allocations: 0.8711 MB / 0.9941 GB, free: 6.238 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.1862, allocations: 1.384 MB / 0.9954 GB, free: 4.809 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.1862, allocations: 131.4 kB / 0.9956 GB, free: 4.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.1864, allocations: 184 kB / 0.9957 GB, free: 4.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.1884, allocations: 2.1 MB / 0.9978 GB, free: 2.168 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.1884, allocations: 0 / 0.9978 GB, free: 2.168 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1885, allocations: 72 kB / 0.9978 GB, free: 2.098 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.1886, allocations: 40 kB / 0.9979 GB, free: 2.059 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.19, allocations: 1.202 MB / 0.9991 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004889/0.1949, allocations: 4.154 MB / 1.003 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.1962, allocations: 0.8851 MB / 1.004 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/0.1966, allocations: 386.2 kB / 1.004 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.1968, allocations: 85.19 kB / 1.004 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009414/0.1977, allocations: 1.263 MB / 1.006 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 2.515e-06/0.1977, allocations: 0 / 1.006 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.002986/0.2007, allocations: 1.663 MB / 1.007 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.2008, allocations: 209.2 kB / 1.007 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.2019, allocations: 1.294 MB / 1.009 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.2019, allocations: 65.7 kB / 1.009 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.2024, allocations: 0.9102 MB / 1.01 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.2027, allocations: 0.5229 MB / 1.01 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.203, allocations: 273.2 kB / 1.01 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2031, allocations: 0.5355 MB / 1.011 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.2035, allocations: 251.8 kB / 1.011 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.2041, allocations: 0.7967 MB / 1.012 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000884/0.205, allocations: 0.6877 MB / 1.013 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.205, allocations: 0 / 1.013 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001846/0.2068, allocations: 1.233 MB / 1.014 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2068, allocations: 13.97 kB / 1.014 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2068, allocations: 0 / 1.014 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007247/0.2076, allocations: 278.2 kB / 1.014 GB, free: 0.7695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/0.2084, allocations: 347.5 kB / 1.014 GB, free: 440 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.2122, allocations: 8.963 MB / 1.023 GB, free: 6.848 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.2128, allocations: 135.2 kB / 1.023 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.2128, allocations: 64.02 kB / 1.023 GB, free: 6.652 MB / 0.9792 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.0003198/0.2132, allocations: 243 kB / 1.024 GB, free: 6.406 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.2134, allocations: 242.8 kB / 1.024 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.2153, allocations: 1.467 MB / 1.025 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2153, allocations: 20 kB / 1.025 GB, free: 4.648 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2153, allocations: 0 / 1.025 GB, free: 4.648 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.2153, allocations: 11.91 kB / 1.025 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.2187, allocations: 2.921 MB / 1.028 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2187, allocations: 0 / 1.028 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/0.2194, allocations: 319.5 kB / 1.029 GB, free: 1.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006001/0.22, allocations: 250.2 kB / 1.029 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.2201, allocations: 47.95 kB / 1.029 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.2236, allocations: 8.982 MB / 1.038 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2236, allocations: 0 / 1.038 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.2254, allocations: 1.48 MB / 1.039 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.2258, allocations: 382.2 kB / 1.039 GB, free: 5.508 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.2259, allocations: 32 kB / 1.039 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.2264, allocations: 82 kB / 1.039 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.2266, allocations: 113.8 kB / 1.04 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.61e-05/0.2267, allocations: 71.94 kB / 1.04 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007116/0.2274, allocations: 0.8138 MB / 1.04 GB, free: 4.402 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2274, allocations: 0 / 1.04 GB, free: 4.402 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001255/0.2287, allocations: 0.717 MB / 1.041 GB, free: 3.684 MB / 0.9948 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 (157): * Single equations (assignments): 142 * 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.001458/0.2301, allocations: 0.7614 MB / 1.042 GB, free: 3.09 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.2319, allocations: 1.723 MB / 1.044 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2319, allocations: 0.8906 kB / 1.044 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.2328, allocations: 1.379 MB / 1.045 GB, free: 15.81 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.2341, allocations: 0.5941 MB / 1.046 GB, free: 15.24 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.2378, allocations: 3.321 MB / 1.049 GB, free: 11.87 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.2383, allocations: 432.7 kB / 1.049 GB, free: 11.42 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008642/0.2392, allocations: 460.4 kB / 1.05 GB, free: 10.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.2395, allocations: 180.4 kB / 1.05 GB, free: 10.79 MB / 1.01 GB Notification: Performance of SimCode: time 9.11e-07/0.2395, allocations: 0 / 1.05 GB, free: 10.79 MB / 1.01 GB Notification: Performance of Templates: time 0.3893/0.6288, allocations: 34.05 MB / 1.083 GB, free: 136 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 6.569479689002037]