Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001439/0.001439, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001422/0.001422, allocations: 165.4 kB / 23.82 MB, free: 0.7461 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.9887/0.9887, allocations: 177.1 MB / 204.2 MB, free: 5.191 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.831/1.831, allocations: 359 MB / 0.6052 GB, free: 11.04 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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.063e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1403/0.1404, allocations: 151.4 MB / 0.935 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.1553, allocations: 13.54 MB / 0.9482 GB, free: 7.004 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.1567, allocations: 43.62 kB / 0.9482 GB, free: 6.961 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.1578, allocations: 404.5 kB / 0.9486 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.1611, allocations: 1.305 MB / 0.9499 GB, free: 5.25 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.164, allocations: 1.476 MB / 0.9513 GB, free: 3.77 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003087/0.1671, allocations: 3.01 MB / 0.9543 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.1691, allocations: 1.537 MB / 0.9558 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.1723, allocations: 1.922 MB / 0.9576 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.1733, allocations: 0.8802 MB / 0.9585 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.1736, allocations: 208 kB / 0.9587 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.1752, allocations: 0.8968 MB / 0.9596 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004516/0.1756, allocations: 0.6114 MB / 0.9602 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007747/0.1764, allocations: 0.7209 MB / 0.9609 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.1796, allocations: 2.195 MB / 0.963 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1796, allocations: 0 / 0.963 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1796, allocations: 0 / 0.963 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.269e-05/0.1797, allocations: 0 / 0.963 GB, free: 7.812 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.002757/0.1824, allocations: 2.411 MB / 0.9654 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1825, allocations: 8.031 kB / 0.9654 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.1845, allocations: 0.7197 MB / 0.9661 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.1858, allocations: 1.099 MB / 0.9672 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.1859, allocations: 123.2 kB / 0.9673 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.1861, allocations: 179.9 kB / 0.9674 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.188, allocations: 2.027 MB / 0.9694 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.188, allocations: 8 kB / 0.9694 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.906e-05/0.1881, allocations: 79.86 kB / 0.9695 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.1882, allocations: 44 kB / 0.9696 GB, free: 0.7578 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.1896, allocations: 1.138 MB / 0.9707 GB, free: 15.61 MB / 0.9324 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.00486/0.1944, allocations: 4.872 MB / 0.9754 GB, free: 10.62 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.1957, allocations: 0.7872 MB / 0.9762 GB, free: 9.828 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.1961, allocations: 311.5 kB / 0.9765 GB, free: 9.516 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.1964, allocations: 113.2 kB / 0.9766 GB, free: 9.406 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009463/0.1974, allocations: 1.071 MB / 0.9776 GB, free: 8.195 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=134): time 3.958e-06/0.1974, allocations: 7.875 kB / 0.9777 GB, free: 8.188 MB / 0.9324 GB Notification: Performance of matching and sorting (n=134): time 0.002475/0.1998, allocations: 1.262 MB / 0.9789 GB, free: 6.914 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.1999, allocations: 209.2 kB / 0.9791 GB, free: 6.668 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/0.2007, allocations: 0.7921 MB / 0.9799 GB, free: 5.848 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.2008, allocations: 61.7 kB / 0.9799 GB, free: 5.781 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.2012, allocations: 0.7268 MB / 0.9806 GB, free: 5.043 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.2015, allocations: 472 kB / 0.9811 GB, free: 4.578 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.2017, allocations: 252.5 kB / 0.9813 GB, free: 4.324 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.2019, allocations: 0.5238 MB / 0.9818 GB, free: 3.793 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.2022, allocations: 226.5 kB / 0.982 GB, free: 3.57 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.2028, allocations: 0.6095 MB / 0.9826 GB, free: 2.863 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/0.2037, allocations: 0.6328 MB / 0.9833 GB, free: 2.199 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2037, allocations: 3.938 kB / 0.9833 GB, free: 2.195 MB / 0.9324 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001514/0.2052, allocations: 0.9918 MB / 0.9842 GB, free: 1.191 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2052, allocations: 4 kB / 0.9842 GB, free: 1.188 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.2052, allocations: 4 kB / 0.9842 GB, free: 1.184 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/0.2057, allocations: 139.6 kB / 0.9844 GB, free: 1.043 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.2065, allocations: 307.6 kB / 0.9847 GB, free: 0.7422 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.2079, allocations: 1.898 MB / 0.9865 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.2085, allocations: 127.3 kB / 0.9866 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.2086, allocations: 51.97 kB / 0.9867 GB, free: 14.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003861/0.209, allocations: 242.9 kB / 0.9869 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.2092, allocations: 171.2 kB / 0.9871 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.2109, allocations: 1.205 MB / 0.9883 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.2109, allocations: 12 kB / 0.9883 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2109, allocations: 4 kB / 0.9883 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.211, allocations: 7.969 kB / 0.9883 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.2142, allocations: 2.433 MB / 0.9907 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2142, allocations: 3.938 kB / 0.9907 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/0.2148, allocations: 267.7 kB / 0.9909 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003774/0.2152, allocations: 119.6 kB / 0.991 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.2153, allocations: 39.97 kB / 0.9911 GB, free: 9.965 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.2165, allocations: 1.929 MB / 0.993 GB, free: 7.906 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2165, allocations: 0 / 0.993 GB, free: 7.906 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.2186, allocations: 1.471 MB / 0.9944 GB, free: 6.406 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.219, allocations: 310.6 kB / 0.9947 GB, free: 6.102 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.2191, allocations: 35.92 kB / 0.9947 GB, free: 6.066 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.2196, allocations: 67.98 kB / 0.9948 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.2198, allocations: 101.1 kB / 0.9949 GB, free: 5.902 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.2198, allocations: 63.95 kB / 0.9949 GB, free: 5.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005033/0.2203, allocations: 0.5041 MB / 0.9954 GB, free: 5.324 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2203, allocations: 0 / 0.9954 GB, free: 5.324 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001139/0.2215, allocations: 0.5882 MB / 0.996 GB, free: 4.734 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (145): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001408/0.2229, allocations: 0.6999 MB / 0.9967 GB, free: 4.199 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.2243, allocations: 0.9275 MB / 0.9976 GB, free: 3.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2243, allocations: 4.938 kB / 0.9976 GB, free: 3.246 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006915/0.225, allocations: 0.6242 MB / 0.9982 GB, free: 2.602 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.2263, allocations: 0.5422 MB / 0.9987 GB, free: 2.074 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.2302, allocations: 2.651 MB / 1.001 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2304, allocations: 320.8 kB / 1.002 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0009657/0.2314, allocations: 405.8 kB / 1.002 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.2317, allocations: 152.4 kB / 1.002 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of SimCode: time 1.252e-06/0.2317, allocations: 0 / 1.002 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of Templates: time 0.03006/0.2618, allocations: 25.26 MB / 1.027 GB, free: 5.695 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.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.254352195188403]