Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001032/0.001032, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001032/0.001032, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9338/0.9338, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.793/1.793, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.46e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1404/0.1405, allocations: 150.9 MB / 0.9344 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.1586, allocations: 15.3 MB / 0.9494 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.1593, allocations: 35.69 kB / 0.9494 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007606/0.1601, allocations: 400.4 kB / 0.9498 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.1622, allocations: 1.316 MB / 0.9511 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.1641, allocations: 1.356 MB / 0.9524 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.1658, allocations: 2.788 MB / 0.9551 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.167, allocations: 1.587 MB / 0.9567 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.1695, allocations: 1.939 MB / 0.9586 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007347/0.1702, allocations: 0.8062 MB / 0.9594 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.1704, allocations: 216 kB / 0.9596 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.1715, allocations: 0.9398 MB / 0.9605 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.1719, allocations: 0.5958 MB / 0.9611 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.1724, allocations: 0.7287 MB / 0.9618 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.1746, allocations: 2.23 MB / 0.964 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1746, allocations: 0 / 0.964 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1746, allocations: 0 / 0.964 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.1746, allocations: 0 / 0.964 GB, free: 5.766 MB / 0.8698 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.002102/0.1767, allocations: 2.373 MB / 0.9663 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.1767, allocations: 12.02 kB / 0.9663 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.1788, allocations: 0.8285 MB / 0.9671 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.1799, allocations: 1.091 MB / 0.9682 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.18, allocations: 127.5 kB / 0.9683 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.1802, allocations: 188 kB / 0.9685 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.1822, allocations: 2.173 MB / 0.9706 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.1822, allocations: 0 / 0.9706 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1823, allocations: 83.97 kB / 0.9707 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.1823, allocations: 40 kB / 0.9707 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.1837, allocations: 1.206 MB / 0.9719 GB, free: 13.3 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.1879, allocations: 3.977 MB / 0.9758 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.1891, allocations: 0.8758 MB / 0.9766 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/0.1895, allocations: 375.2 kB / 0.977 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/0.1899, allocations: 137.2 kB / 0.9771 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009077/0.1909, allocations: 1.267 MB / 0.9783 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=154): time 2.294e-06/0.1909, allocations: 0 / 0.9783 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of matching and sorting (n=154): time 0.002739/0.1936, allocations: 1.608 MB / 0.9799 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.1937, allocations: 221.1 kB / 0.9801 GB, free: 4.531 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.1942, allocations: 0.722 MB / 0.9808 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.1943, allocations: 61.7 kB / 0.9809 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.1947, allocations: 0.7191 MB / 0.9816 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.1949, allocations: 0.5151 MB / 0.9821 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.1952, allocations: 277.1 kB / 0.9824 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1954, allocations: 0.5355 MB / 0.9829 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.1958, allocations: 259.8 kB / 0.9831 GB, free: 1.402 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.1963, allocations: 0.6741 MB / 0.9838 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.1972, allocations: 0.6917 MB / 0.9845 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1972, allocations: 0 / 0.9845 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001623/0.1989, allocations: 1.198 MB / 0.9856 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1989, allocations: 4 kB / 0.9856 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1989, allocations: 0 / 0.9856 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.1995, allocations: 262.2 kB / 0.9859 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.2003, allocations: 359.5 kB / 0.9862 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.2041, allocations: 8.933 MB / 0.995 GB, free: 4.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.2045, allocations: 131.3 kB / 0.9951 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.2046, allocations: 59.95 kB / 0.9951 GB, free: 4.332 MB / 0.9011 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.0003086/0.2049, allocations: 254.9 kB / 0.9954 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.2051, allocations: 175.2 kB / 0.9955 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.207, allocations: 1.443 MB / 0.997 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.207, allocations: 23.94 kB / 0.997 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.207, allocations: 0 / 0.997 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.207, allocations: 7.969 kB / 0.997 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.2101, allocations: 2.702 MB / 0.9996 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2101, allocations: 0 / 0.9996 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006983/0.2108, allocations: 319.6 kB / 0.9999 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/0.2113, allocations: 242.2 kB / 1 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.2114, allocations: 39.97 kB / 1 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/0.2149, allocations: 8.973 MB / 1.009 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2149, allocations: 0 / 1.009 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.2166, allocations: 1.418 MB / 1.01 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.217, allocations: 314.6 kB / 1.011 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.2171, allocations: 39.98 kB / 1.011 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.2176, allocations: 86.56 kB / 1.011 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.2177, allocations: 117.8 kB / 1.011 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.495e-05/0.2178, allocations: 75.94 kB / 1.011 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003927/0.2182, allocations: 474.9 kB / 1.011 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2182, allocations: 0 / 1.011 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001161/0.2194, allocations: 0.6544 MB / 1.012 GB, free: 2.211 MB / 0.9167 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.001519/0.2209, allocations: 0.7289 MB / 1.013 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.2228, allocations: 1.732 MB / 1.014 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.2228, allocations: 4.891 kB / 1.014 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.2238, allocations: 1.375 MB / 1.016 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.2251, allocations: 0.568 MB / 1.016 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.2288, allocations: 2.606 MB / 1.019 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.229, allocations: 318.3 kB / 1.019 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008881/0.2299, allocations: 410.1 kB / 1.02 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.2302, allocations: 160.4 kB / 1.02 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of SimCode: time 1.442e-06/0.2302, allocations: 0 / 1.02 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of Templates: time 0.3952/0.6254, allocations: 28.18 MB / 1.047 GB, free: 103.4 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.616048716939986]