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.0009283/0.0009283, 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.0009679/0.0009679, 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.9346/0.9346, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.784/1.784, allocations: 359 MB / 0.6055 GB, free: 10.91 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.573e-06/1.573e-06, allocations: 0 / 0.7876 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.685e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1449/0.145, allocations: 148.6 MB / 0.9326 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.1601, allocations: 13.35 MB / 0.9457 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.1617, allocations: 39.69 kB / 0.9457 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.1629, allocations: 404.4 kB / 0.9461 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003373/0.1663, allocations: 1.308 MB / 0.9474 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.1697, allocations: 1.484 MB / 0.9488 GB, free: 6.539 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003828/0.1736, allocations: 3.002 MB / 0.9517 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.1759, allocations: 1.541 MB / 0.9533 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003835/0.1797, allocations: 2.027 MB / 0.9552 GB, free: 0 / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1809, allocations: 0.8452 MB / 0.9561 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.1812, allocations: 192 kB / 0.9562 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.1831, allocations: 0.8579 MB / 0.9571 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004353/0.1835, allocations: 0.5957 MB / 0.9577 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0008019/0.1843, allocations: 0.7053 MB / 0.9583 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003212/0.1875, allocations: 2.137 MB / 0.9604 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.1876, allocations: 0 / 0.9604 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1876, allocations: 0 / 0.9604 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.228e-05/0.1876, allocations: 4 kB / 0.9604 GB, free: 10.65 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.003414/0.191, allocations: 2.395 MB / 0.9628 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1911, allocations: 8.031 kB / 0.9628 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.1937, allocations: 0.7078 MB / 0.9635 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.1954, allocations: 1.08 MB / 0.9645 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.1955, allocations: 119.2 kB / 0.9646 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.1958, allocations: 179.9 kB / 0.9648 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.1981, allocations: 1.847 MB / 0.9666 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.1982, allocations: 3.938 kB / 0.9666 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.1983, allocations: 75.98 kB / 0.9667 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.1983, allocations: 48 kB / 0.9667 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.1998, allocations: 0.9576 MB / 0.9677 GB, free: 2.867 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.007289/0.2071, allocations: 4.602 MB / 0.9722 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.2082, allocations: 0.7119 MB / 0.9729 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.2086, allocations: 270.4 kB / 0.9731 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.209, allocations: 123.2 kB / 0.9732 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009964/0.2099, allocations: 1.02 MB / 0.9742 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=134): time 5.52e-06/0.21, allocations: 0 / 0.9742 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=134): time 0.002211/0.2122, allocations: 1.133 MB / 0.9753 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/0.2123, allocations: 205.2 kB / 0.9755 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007165/0.213, allocations: 0.8099 MB / 0.9763 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.874e-05/0.2131, allocations: 61.7 kB / 0.9764 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008223/0.2139, allocations: 0.7653 MB / 0.9771 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.2142, allocations: 467.9 kB / 0.9776 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.2145, allocations: 285 kB / 0.9779 GB, free: 8.082 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.2146, allocations: 0.5315 MB / 0.9784 GB, free: 7.543 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.2149, allocations: 171.8 kB / 0.9785 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.2153, allocations: 0.5833 MB / 0.9791 GB, free: 6.676 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.2159, allocations: 0.6756 MB / 0.9798 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2159, allocations: 0 / 0.9798 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001279/0.2172, allocations: 0.9724 MB / 0.9807 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2172, allocations: 4 kB / 0.9807 GB, free: 4.926 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.2172, allocations: 8 kB / 0.9807 GB, free: 4.918 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/0.2177, allocations: 131.5 kB / 0.9809 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.2184, allocations: 339.5 kB / 0.9812 GB, free: 4.453 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.2198, allocations: 1.885 MB / 0.983 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.2205, allocations: 119.2 kB / 0.9831 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-05/0.2205, allocations: 51.97 kB / 0.9832 GB, free: 2.281 MB / 0.9323 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.0004758/0.221, allocations: 251.1 kB / 0.9834 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.2213, allocations: 183.1 kB / 0.9836 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.2229, allocations: 1.108 MB / 0.9847 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.2229, allocations: 15.98 kB / 0.9847 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2229, allocations: 0 / 0.9847 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.2229, allocations: 3.984 kB / 0.9847 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.2256, allocations: 2.117 MB / 0.9868 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.2256, allocations: 0 / 0.9868 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.2262, allocations: 267.7 kB / 0.987 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003437/0.2265, allocations: 123.4 kB / 0.9871 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.2266, allocations: 35.97 kB / 0.9872 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.2277, allocations: 1.891 MB / 0.989 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2277, allocations: 0 / 0.989 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.2293, allocations: 1.315 MB / 0.9903 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.2297, allocations: 298.6 kB / 0.9906 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.2298, allocations: 28 kB / 0.9906 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.2302, allocations: 59.95 kB / 0.9907 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.2304, allocations: 101.1 kB / 0.9908 GB, free: 10.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/0.2306, allocations: 56.02 kB / 0.9908 GB, free: 10.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00035/0.2309, allocations: 489.1 kB / 0.9913 GB, free: 9.738 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2309, allocations: 4 kB / 0.9913 GB, free: 9.734 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001112/0.232, allocations: 0.5882 MB / 0.9919 GB, free: 9.145 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.001451/0.2335, allocations: 0.7028 MB / 0.9926 GB, free: 8.613 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.2347, allocations: 0.8662 MB / 0.9934 GB, free: 7.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2347, allocations: 1.688 kB / 0.9934 GB, free: 7.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.2353, allocations: 0.5852 MB / 0.994 GB, free: 7.125 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.2366, allocations: 0.5377 MB / 0.9945 GB, free: 6.609 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.2404, allocations: 2.618 MB / 0.9971 GB, free: 3.938 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.2407, allocations: 317 kB / 0.9974 GB, free: 3.602 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009544/0.2416, allocations: 314.3 kB / 0.9977 GB, free: 3.289 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.2428, allocations: 0.6109 MB / 0.9983 GB, free: 2.676 MB / 0.948 GB Notification: Performance of SimCode: time 2.094e-06/0.2428, allocations: 0 / 0.9983 GB, free: 2.676 MB / 0.948 GB Notification: Performance of Templates: time 0.03249/0.2753, allocations: 27.24 MB / 1.025 GB, free: 7.945 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: 5.898417107760906]