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.001436/0.001436, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001624/0.001624, allocations: 169 kB / 23.27 MB, free: 1.223 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.9443/0.9443, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.32/2.32, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.934e-06/1.934e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.057e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1377/0.1378, allocations: 148.1 MB / 1.034 GB, free: 5.043 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.1525, allocations: 15.28 MB / 1.049 GB, free: 5.715 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.1539, allocations: 39.69 kB / 1.049 GB, free: 5.676 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009137/0.1548, allocations: 412.4 kB / 1.05 GB, free: 5.27 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.1581, allocations: 1.499 MB / 1.051 GB, free: 3.762 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.1606, allocations: 1.453 MB / 1.053 GB, free: 2.305 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.4728/0.6334, allocations: 2.928 MB / 1.056 GB, free: 49.29 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.6357, allocations: 1.561 MB / 1.057 GB, free: 49.17 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/0.6401, allocations: 2.083 MB / 1.059 GB, free: 49.16 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.6416, allocations: 0.8983 MB / 1.06 GB, free: 49.16 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005308/0.6421, allocations: 215 kB / 1.06 GB, free: 49.16 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.6444, allocations: 1.093 MB / 1.061 GB, free: 49.16 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0007211/0.6451, allocations: 0.8162 MB / 1.062 GB, free: 49.16 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.6465, allocations: 0.8222 MB / 1.063 GB, free: 49.16 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004477/0.651, allocations: 2.613 MB / 1.065 GB, free: 49 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.651, allocations: 3.875 kB / 1.065 GB, free: 49 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.883e-06/0.651, allocations: 0 / 1.065 GB, free: 49 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.764e-05/0.6511, allocations: 0 / 1.065 GB, free: 49 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.003628/0.6547, allocations: 2.841 MB / 1.068 GB, free: 47.59 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6548, allocations: 11.06 kB / 1.068 GB, free: 47.59 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/0.6574, allocations: 0.8666 MB / 1.069 GB, free: 47.34 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.6598, allocations: 1.31 MB / 1.07 GB, free: 46.91 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.445e-05/0.6599, allocations: 130.5 kB / 1.07 GB, free: 46.91 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.6601, allocations: 186.5 kB / 1.071 GB, free: 46.91 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.6621, allocations: 1.983 MB / 1.073 GB, free: 45.81 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.6621, allocations: 0 / 1.073 GB, free: 45.81 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.6622, allocations: 75.94 kB / 1.073 GB, free: 45.81 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.6622, allocations: 40.38 kB / 1.073 GB, free: 45.81 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.6634, allocations: 1.009 MB / 1.074 GB, free: 45.77 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005769/0.6691, allocations: 3.881 MB / 1.077 GB, free: 44.63 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.6703, allocations: 0.7761 MB / 1.078 GB, free: 44.57 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.6706, allocations: 322.2 kB / 1.078 GB, free: 44.55 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/0.6708, allocations: 106.6 kB / 1.079 GB, free: 44.54 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009309/0.6718, allocations: 1.211 MB / 1.08 GB, free: 43.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.729e-06/0.6718, allocations: 0.9062 kB / 1.08 GB, free: 43.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.002897/0.6747, allocations: 1.501 MB / 1.081 GB, free: 43.46 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.6747, allocations: 214.1 kB / 1.081 GB, free: 43.23 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.6759, allocations: 1.221 MB / 1.083 GB, free: 42.98 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.6761, allocations: 67.02 kB / 1.083 GB, free: 42.95 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006201/0.6767, allocations: 0.9237 MB / 1.084 GB, free: 42.57 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.677, allocations: 0.5287 MB / 1.084 GB, free: 42.23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.6774, allocations: 280.1 kB / 1.084 GB, free: 42.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.6774, allocations: 0.5366 MB / 1.085 GB, free: 41.72 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.6777, allocations: 192.9 kB / 1.085 GB, free: 41.72 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.6782, allocations: 0.7405 MB / 1.086 GB, free: 41.14 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000723/0.6789, allocations: 0.5785 MB / 1.086 GB, free: 41.06 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6789, allocations: 0.9688 kB / 1.086 GB, free: 41.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001838/0.6808, allocations: 1.122 MB / 1.087 GB, free: 40.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.6808, allocations: 10.81 kB / 1.087 GB, free: 40.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.6808, allocations: 1.094 kB / 1.087 GB, free: 40.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.6815, allocations: 274 kB / 1.088 GB, free: 40.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000787/0.6823, allocations: 333.7 kB / 1.088 GB, free: 40.76 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.6852, allocations: 8.84 MB / 1.097 GB, free: 32.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007974/0.686, allocations: 131.5 kB / 1.097 GB, free: 32.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.6861, allocations: 47.53 kB / 1.097 GB, free: 32.17 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.0005753/0.6866, allocations: 251.8 kB / 1.097 GB, free: 32 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/0.687, allocations: 230.5 kB / 1.097 GB, free: 31.91 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.6889, allocations: 1.346 MB / 1.099 GB, free: 31.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.6889, allocations: 16.53 kB / 1.099 GB, free: 31.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6889, allocations: 2.25 kB / 1.099 GB, free: 31.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.6889, allocations: 10.08 kB / 1.099 GB, free: 31.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.6926, allocations: 2.534 MB / 1.101 GB, free: 31.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6926, allocations: 0 / 1.101 GB, free: 31.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/0.6934, allocations: 298.5 kB / 1.101 GB, free: 31.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006909/0.6941, allocations: 253.2 kB / 1.102 GB, free: 31.12 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.6942, allocations: 43.33 kB / 1.102 GB, free: 31.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00452/0.6987, allocations: 8.878 MB / 1.11 GB, free: 38.54 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6987, allocations: 1.031 kB / 1.11 GB, free: 38.54 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.7012, allocations: 1.355 MB / 1.112 GB, free: 38.12 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007265/0.7019, allocations: 364 kB / 1.112 GB, free: 38.01 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.7021, allocations: 36.62 kB / 1.112 GB, free: 38 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.7027, allocations: 70.89 kB / 1.112 GB, free: 38 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.7029, allocations: 118.1 kB / 1.112 GB, free: 38 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.703, allocations: 59.16 kB / 1.112 GB, free: 38 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001021/0.7041, allocations: 0.735 MB / 1.113 GB, free: 37.85 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7041, allocations: 0 / 1.113 GB, free: 37.85 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002018/0.7061, allocations: 0.7112 MB / 1.114 GB, free: 37.73 MB / 1.026 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.001776/0.7079, allocations: 0.7749 MB / 1.114 GB, free: 37.53 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.7099, allocations: 1.606 MB / 1.116 GB, free: 36.62 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.7099, allocations: 3.297 kB / 1.116 GB, free: 36.62 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.7109, allocations: 1.324 MB / 1.117 GB, free: 35.75 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.7127, allocations: 0.5639 MB / 1.118 GB, free: 35.69 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.7176, allocations: 3.272 MB / 1.121 GB, free: 34.21 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.7181, allocations: 428.9 kB / 1.122 GB, free: 34.11 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001263/0.7194, allocations: 365.7 kB / 1.122 GB, free: 34.02 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/0.7208, allocations: 0.68 MB / 1.123 GB, free: 33.96 MB / 1.026 GB Notification: Performance of SimCode: time 1.853e-06/0.7208, allocations: 0 / 1.123 GB, free: 33.96 MB / 1.026 GB Notification: Performance of Templates: time 0.04619/0.767, allocations: 34.42 MB / 1.156 GB, free: 30.57 MB / 1.026 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.111540402751416]