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.001297/0.001297, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001382/0.001382, allocations: 181 kB / 24.09 MB, free: 420 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.9255/0.9255, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.755/1.755, allocations: 359 MB / 0.6055 GB, free: 10.85 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.412e-06/1.412e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.443e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1285/0.1285, allocations: 148 MB / 0.9321 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.1432, allocations: 15.06 MB / 0.9468 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009177/0.1441, allocations: 43.62 kB / 0.9469 GB, free: 8.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009575/0.1451, allocations: 400.4 kB / 0.9472 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.1477, allocations: 1.332 MB / 0.9485 GB, free: 6.809 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.1501, allocations: 1.352 MB / 0.9499 GB, free: 5.453 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.1524, allocations: 2.792 MB / 0.9526 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.154, allocations: 1.571 MB / 0.9541 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.1569, allocations: 1.996 MB / 0.9561 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.1577, allocations: 0.775 MB / 0.9568 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.1579, allocations: 204 kB / 0.957 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.1594, allocations: 0.9204 MB / 0.9579 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006553/0.1601, allocations: 0.5762 MB / 0.9585 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005809/0.1607, allocations: 0.7131 MB / 0.9592 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.1628, allocations: 2.191 MB / 0.9613 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1629, allocations: 4 kB / 0.9613 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1629, allocations: 0 / 0.9613 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.1629, allocations: 0 / 0.9613 GB, free: 9.766 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.002492/0.1654, allocations: 2.373 MB / 0.9636 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1654, allocations: 8.031 kB / 0.9636 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.1682, allocations: 0.8285 MB / 0.9645 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.1696, allocations: 1.076 MB / 0.9655 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1697, allocations: 127.5 kB / 0.9656 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.1699, allocations: 184 kB / 0.9658 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.1718, allocations: 1.983 MB / 0.9677 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.1718, allocations: 0 / 0.9677 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.1719, allocations: 79.98 kB / 0.9678 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.1719, allocations: 40 kB / 0.9679 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.1734, allocations: 1.007 MB / 0.9688 GB, free: 1.727 MB / 0.9167 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.004967/0.1784, allocations: 3.727 MB / 0.9725 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.1795, allocations: 0.7806 MB / 0.9732 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.1799, allocations: 322.4 kB / 0.9735 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/0.1804, allocations: 164.9 kB / 0.9737 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009584/0.1814, allocations: 1.208 MB / 0.9749 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=154): time 3.136e-06/0.1814, allocations: 0 / 0.9749 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of matching and sorting (n=154): time 0.002813/0.1842, allocations: 1.44 MB / 0.9763 GB, free: 9.816 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.1843, allocations: 209.1 kB / 0.9765 GB, free: 9.57 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.1849, allocations: 0.6903 MB / 0.9772 GB, free: 8.867 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-05/0.185, allocations: 73.69 kB / 0.9772 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.1854, allocations: 0.7189 MB / 0.9779 GB, free: 8.059 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.1857, allocations: 0.5189 MB / 0.9784 GB, free: 7.535 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005896/0.1863, allocations: 285 kB / 0.9787 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.1865, allocations: 0.5354 MB / 0.9792 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.1868, allocations: 195.8 kB / 0.9794 GB, free: 6.512 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.1873, allocations: 484.6 kB / 0.9799 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008143/0.1881, allocations: 0.59 MB / 0.9805 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1881, allocations: 0 / 0.9805 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001651/0.1897, allocations: 1.073 MB / 0.9815 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1897, allocations: 12 kB / 0.9815 GB, free: 4.277 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1898, allocations: 64 / 0.9815 GB, free: 4.277 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007178/0.1905, allocations: 258.1 kB / 0.9818 GB, free: 4.004 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009569/0.1914, allocations: 339.5 kB / 0.9821 GB, free: 3.672 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/0.1958, allocations: 8.823 MB / 0.9907 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.1963, allocations: 115.2 kB / 0.9908 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.1964, allocations: 51.95 kB / 0.9909 GB, free: 10.11 MB / 0.948 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 (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.0003413/0.1968, allocations: 255 kB / 0.9911 GB, free: 9.852 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.197, allocations: 179.2 kB / 0.9913 GB, free: 9.676 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.1993, allocations: 1.321 MB / 0.9926 GB, free: 8.324 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.1993, allocations: 16 kB / 0.9926 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1993, allocations: 0 / 0.9926 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.1993, allocations: 11.97 kB / 0.9926 GB, free: 8.297 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.2024, allocations: 2.379 MB / 0.9949 GB, free: 5.844 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2024, allocations: 3.984 kB / 0.9949 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.203, allocations: 295.6 kB / 0.9952 GB, free: 5.551 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004704/0.2035, allocations: 242.2 kB / 0.9954 GB, free: 5.293 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.2036, allocations: 43.97 kB / 0.9955 GB, free: 5.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.207, allocations: 8.844 MB / 1.004 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.207, allocations: 0 / 1.004 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.2083, allocations: 1.308 MB / 1.005 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.2087, allocations: 310.6 kB / 1.006 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/0.2088, allocations: 35.95 kB / 1.006 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.2092, allocations: 71.39 kB / 1.006 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.2093, allocations: 121.7 kB / 1.006 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/0.2094, allocations: 63.94 kB / 1.006 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002733/0.2096, allocations: 434.8 kB / 1.006 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.2097, allocations: 0 / 1.006 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001379/0.211, allocations: 0.6428 MB / 1.007 GB, free: 8.824 MB / 0.9636 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.001355/0.2124, allocations: 0.7307 MB / 1.008 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.2136, allocations: 1.619 MB / 1.009 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2136, allocations: 4.891 kB / 1.009 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.2144, allocations: 1.324 MB / 1.011 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.2155, allocations: 0.5668 MB / 1.011 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.2183, allocations: 2.571 MB / 1.014 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.2188, allocations: 318.3 kB / 1.014 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006671/0.2194, allocations: 318.2 kB / 1.014 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009797/0.2204, allocations: 0.6422 MB / 1.015 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/0.2204, allocations: 0 / 1.015 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of Templates: time 0.03149/0.2519, allocations: 30.43 MB / 1.045 GB, free: 2.812 MB / 0.9948 GB " [Timeout remaining time 300] 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.492312361951917]