Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001299/0.001299, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001014/0.001014, allocations: 168.6 kB / 24.86 MB, free: 8.883 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.9429/0.9429, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.797/1.797, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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_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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.185e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1317/0.1317, allocations: 148.6 MB / 0.9579 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.1439, allocations: 13.35 MB / 0.9709 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007901/0.1447, allocations: 43.62 kB / 0.971 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008035/0.1455, allocations: 404.5 kB / 0.9714 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.1476, allocations: 1.316 MB / 0.9726 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.1501, allocations: 1.48 MB / 0.9741 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.1524, allocations: 2.998 MB / 0.977 GB, free: 8.711 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.1539, allocations: 1.529 MB / 0.9785 GB, free: 7.121 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.1566, allocations: 2.016 MB / 0.9805 GB, free: 5.211 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007817/0.1574, allocations: 0.8334 MB / 0.9813 GB, free: 4.375 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.1576, allocations: 192 kB / 0.9815 GB, free: 4.188 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.1588, allocations: 0.8579 MB / 0.9823 GB, free: 3.328 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.1591, allocations: 0.588 MB / 0.9829 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.1597, allocations: 0.7014 MB / 0.9836 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.1617, allocations: 2.153 MB / 0.9857 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1617, allocations: 0 / 0.9857 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1617, allocations: 0 / 0.9857 GB, free: 15.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.42e-05/0.1618, allocations: 4 kB / 0.9857 GB, free: 15.87 MB / 0.948 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.002384/0.1641, allocations: 2.387 MB / 0.988 GB, free: 13.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1642, allocations: 12.03 kB / 0.988 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.1661, allocations: 0.7002 MB / 0.9887 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.1671, allocations: 1.076 MB / 0.9898 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.1672, allocations: 123.2 kB / 0.9899 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.1673, allocations: 183.9 kB / 0.99 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.1688, allocations: 1.855 MB / 0.9919 GB, free: 9.184 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.1688, allocations: 4 kB / 0.9919 GB, free: 9.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.1689, allocations: 71.94 kB / 0.9919 GB, free: 9.109 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.169, allocations: 44 kB / 0.992 GB, free: 9.066 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009786/0.1699, allocations: 0.9654 MB / 0.9929 GB, free: 8.09 MB / 0.948 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.004118/0.174, allocations: 4.595 MB / 0.9974 GB, free: 3.383 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/0.1749, allocations: 0.6912 MB / 0.9981 GB, free: 2.691 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.1752, allocations: 274.4 kB / 0.9983 GB, free: 2.422 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.1754, allocations: 113.2 kB / 0.9984 GB, free: 2.312 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006732/0.1761, allocations: 1.027 MB / 0.9994 GB, free: 1.145 MB / 0.948 GB Notification: Performance of pre-optimization done (n=134): time 2.314e-06/0.1761, allocations: 4 kB / 0.9995 GB, free: 1.141 MB / 0.948 GB Notification: Performance of matching and sorting (n=134): time 0.001806/0.1779, allocations: 1.133 MB / 1.001 GB, free: 0 / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.1781, allocations: 201.2 kB / 1.001 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.1787, allocations: 0.8061 MB / 1.002 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.438e-05/0.1787, allocations: 53.7 kB / 1.002 GB, free: 14.87 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.1791, allocations: 0.777 MB / 1.002 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.1794, allocations: 464 kB / 1.003 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.1796, allocations: 277 kB / 1.003 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1797, allocations: 0.5354 MB / 1.004 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.18, allocations: 175.8 kB / 1.004 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.1804, allocations: 0.5809 MB / 1.004 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.181, allocations: 0.6757 MB / 1.005 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.181, allocations: 0 / 1.005 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001208/0.1822, allocations: 0.9685 MB / 1.006 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1823, allocations: 8 kB / 1.006 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1823, allocations: 4 kB / 1.006 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/0.1827, allocations: 135.6 kB / 1.006 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.1834, allocations: 327.6 kB / 1.006 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.1847, allocations: 1.89 MB / 1.008 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.1852, allocations: 127.3 kB / 1.008 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.1852, allocations: 47.97 kB / 1.008 GB, free: 7.535 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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): 168 * 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.0002797/0.1855, allocations: 250.9 kB / 1.009 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.1857, allocations: 183.2 kB / 1.009 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.1871, allocations: 1.1 MB / 1.01 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.1871, allocations: 16 kB / 1.01 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1871, allocations: 0 / 1.01 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1871, allocations: 11.97 kB / 1.01 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.1894, allocations: 2.13 MB / 1.012 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1894, allocations: 0 / 1.012 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.19, allocations: 263.7 kB / 1.012 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003423/0.1904, allocations: 115.5 kB / 1.012 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.1904, allocations: 47.95 kB / 1.012 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.1915, allocations: 1.888 MB / 1.014 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1915, allocations: 0 / 1.014 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.1931, allocations: 1.319 MB / 1.016 GB, free: 0 / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.1934, allocations: 294.6 kB / 1.016 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.1935, allocations: 31.94 kB / 1.016 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.194, allocations: 59.95 kB / 1.016 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.1941, allocations: 105 kB / 1.016 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.1941, allocations: 51.95 kB / 1.016 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003125/0.1945, allocations: 493.2 kB / 1.017 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1945, allocations: 0 / 1.017 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0008614/0.1953, allocations: 0.5844 MB / 1.017 GB, free: 14.39 MB / 0.9792 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.001212/0.1965, allocations: 0.6963 MB / 1.018 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000921/0.1974, allocations: 0.8661 MB / 1.019 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1975, allocations: 5.688 kB / 1.019 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.198, allocations: 0.5735 MB / 1.019 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.1991, allocations: 0.5507 MB / 1.02 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.2022, allocations: 2.625 MB / 1.022 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.2024, allocations: 317 kB / 1.023 GB, free: 8.848 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006804/0.2031, allocations: 302.5 kB / 1.023 GB, free: 8.547 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009809/0.2041, allocations: 0.611 MB / 1.023 GB, free: 7.934 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.2041, allocations: 0 / 1.023 GB, free: 7.934 MB / 0.9792 GB Notification: Performance of Templates: time 0.3621/0.5662, allocations: 27.62 MB / 1.05 GB, free: 128.4 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.282045264262706]