Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001026/0.001026, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001155/0.001155, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9913/0.9913, allocations: 177.1 MB / 204.6 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.832/1.832, allocations: 377.8 MB / 0.6239 GB, free: 8.516 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_CpLowRise,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_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,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_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8115 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.843e-05, allocations: 3.219 kB / 0.8115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1491/0.1491, allocations: 164.1 MB / 0.9718 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.167, allocations: 17.56 MB / 0.989 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.1686, allocations: 39.69 kB / 0.989 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.1703, allocations: 0.5503 MB / 0.9895 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.1753, allocations: 1.721 MB / 0.9912 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.1787, allocations: 1.36 MB / 0.9925 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00356/0.1822, allocations: 2.804 MB / 0.9953 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.1846, allocations: 1.579 MB / 0.9968 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.1888, allocations: 2.022 MB / 0.9988 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.1903, allocations: 0.8023 MB / 0.9996 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.1906, allocations: 216 kB / 0.9998 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.1931, allocations: 1.302 MB / 1.001 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004889/0.1936, allocations: 0.5919 MB / 1.002 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0008672/0.1944, allocations: 0.7365 MB / 1.002 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003752/0.1982, allocations: 2.39 MB / 1.005 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1982, allocations: 0 / 1.005 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1982, allocations: 0 / 1.005 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.559e-05/0.1982, allocations: 0 / 1.005 GB, free: 10.54 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003397/0.2016, allocations: 2.404 MB / 1.007 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.2017, allocations: 12.03 kB / 1.007 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/0.2052, allocations: 0.8168 MB / 1.008 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.2069, allocations: 1.091 MB / 1.009 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.207, allocations: 135.4 kB / 1.009 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.2072, allocations: 184 kB / 1.009 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.21, allocations: 2.177 MB / 1.011 GB, free: 3.379 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.21, allocations: 0 / 1.011 GB, free: 3.379 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.2102, allocations: 79.94 kB / 1.011 GB, free: 3.301 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.2102, allocations: 44 kB / 1.011 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.2123, allocations: 1.198 MB / 1.013 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006531/0.2188, allocations: 3.981 MB / 1.017 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.2205, allocations: 0.889 MB / 1.017 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.2212, allocations: 375.8 kB / 1.018 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.2219, allocations: 181.2 kB / 1.018 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/0.2232, allocations: 1.263 MB / 1.019 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=154): time 4.198e-06/0.2232, allocations: 0 / 1.019 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of matching and sorting (n=154): time 0.004175/0.2274, allocations: 1.612 MB / 1.021 GB, free: 9.492 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2275, allocations: 209.2 kB / 1.021 GB, free: 9.246 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/0.2283, allocations: 0.7259 MB / 1.022 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.2285, allocations: 65.7 kB / 1.022 GB, free: 8.43 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.229, allocations: 0.7113 MB / 1.022 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.2294, allocations: 0.5229 MB / 1.023 GB, free: 7.18 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.2298, allocations: 273.2 kB / 1.023 GB, free: 6.906 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.23, allocations: 0.5316 MB / 1.024 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.2305, allocations: 259.8 kB / 1.024 GB, free: 6.113 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.2313, allocations: 0.6702 MB / 1.025 GB, free: 5.355 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.2326, allocations: 0.6955 MB / 1.025 GB, free: 4.648 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2326, allocations: 0 / 1.025 GB, free: 4.648 MB / 0.9323 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002371/0.2349, allocations: 1.202 MB / 1.026 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.235, allocations: 8 kB / 1.026 GB, free: 3.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.235, allocations: 0 / 1.026 GB, free: 3.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/0.2357, allocations: 262.2 kB / 1.027 GB, free: 3.133 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.2368, allocations: 355.5 kB / 1.027 GB, free: 2.785 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3705/0.6073, allocations: 8.944 MB / 1.036 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/0.6083, allocations: 129 kB / 1.036 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.6084, allocations: 63.97 kB / 1.036 GB, free: 223.7 MB / 0.9323 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 (169): * Single equations (assignments): 164 * 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.0005538/0.609, allocations: 249.4 kB / 1.036 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.6093, allocations: 186.1 kB / 1.036 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.6119, allocations: 1.421 MB / 1.038 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.6119, allocations: 16.38 kB / 1.038 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6119, allocations: 2.422 kB / 1.038 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.6119, allocations: 10 kB / 1.038 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/0.6162, allocations: 2.702 MB / 1.04 GB, free: 222.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.6162, allocations: 4.891 kB / 1.04 GB, free: 222.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/0.6171, allocations: 310.1 kB / 1.041 GB, free: 222.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007522/0.6178, allocations: 252.8 kB / 1.041 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.6179, allocations: 42.73 kB / 1.041 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/0.6212, allocations: 8.967 MB / 1.05 GB, free: 213.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6212, allocations: 1.172 kB / 1.05 GB, free: 213.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.6239, allocations: 1.413 MB / 1.051 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006022/0.6245, allocations: 324.4 kB / 1.051 GB, free: 212.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.6246, allocations: 34.89 kB / 1.051 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/0.6252, allocations: 80.05 kB / 1.052 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.6256, allocations: 128.2 kB / 1.052 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.6257, allocations: 72.55 kB / 1.052 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006823/0.6264, allocations: 476 kB / 1.052 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6264, allocations: 0 / 1.052 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00166/0.6281, allocations: 0.6529 MB / 1.053 GB, free: 212.4 MB / 0.9323 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.001664/0.6297, allocations: 0.7539 MB / 1.054 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.6319, allocations: 1.732 MB / 1.055 GB, free: 211.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6319, allocations: 3.906 kB / 1.055 GB, free: 211.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.6331, allocations: 1.372 MB / 1.057 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.6349, allocations: 0.5703 MB / 1.057 GB, free: 210 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.6394, allocations: 2.602 MB / 1.06 GB, free: 208.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.6397, allocations: 320.5 kB / 1.06 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001287/0.641, allocations: 413.5 kB / 1.06 GB, free: 208.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.6414, allocations: 161.5 kB / 1.061 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of SimCode: time 2.044e-06/0.6414, allocations: 0 / 1.061 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.03095/0.6723, allocations: 28.45 MB / 1.088 GB, free: 188 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.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.587712245061994]