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.001589/0.001589, allocations: 81.95 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.001883/0.001883, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9639/0.9639, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.75/1.75, allocations: 359 MB / 0.6063 GB, free: 10.87 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 2.004e-06/2.004e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.046e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1333/0.1334, allocations: 148.6 MB / 0.9334 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.147, allocations: 13.34 MB / 0.9464 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.1483, allocations: 43.62 kB / 0.9465 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009641/0.1493, allocations: 404.5 kB / 0.9468 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.152, allocations: 1.316 MB / 0.9481 GB, free: 8.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.1547, allocations: 1.48 MB / 0.9496 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.1577, allocations: 3.006 MB / 0.9525 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.1596, allocations: 1.541 MB / 0.954 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/0.1629, allocations: 2.021 MB / 0.956 GB, free: 0 / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.1639, allocations: 0.8451 MB / 0.9568 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.1642, allocations: 192 kB / 0.957 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.1656, allocations: 0.8618 MB / 0.9578 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.1659, allocations: 0.588 MB / 0.9584 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005932/0.1665, allocations: 0.7053 MB / 0.9591 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.1691, allocations: 2.145 MB / 0.9612 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1691, allocations: 3.938 kB / 0.9612 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1691, allocations: 0 / 0.9612 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.1691, allocations: 0 / 0.9612 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.002412/0.1715, allocations: 2.391 MB / 0.9635 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1716, allocations: 8.031 kB / 0.9635 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.1735, allocations: 0.7119 MB / 0.9642 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.1747, allocations: 1.073 MB / 0.9653 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.1747, allocations: 119.2 kB / 0.9654 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.1749, allocations: 183.9 kB / 0.9656 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.1764, allocations: 1.851 MB / 0.9674 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.1764, allocations: 3.938 kB / 0.9674 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/0.1765, allocations: 75.98 kB / 0.9675 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.1766, allocations: 40 kB / 0.9675 GB, free: 3.848 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009744/0.1775, allocations: 0.9615 MB / 0.9684 GB, free: 2.871 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.004416/0.182, allocations: 4.594 MB / 0.9729 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009104/0.1829, allocations: 0.708 MB / 0.9736 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.1832, allocations: 270.4 kB / 0.9739 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.1834, allocations: 113.2 kB / 0.974 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007372/0.1842, allocations: 1.02 MB / 0.975 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=134): time 3.516e-06/0.1842, allocations: 0 / 0.975 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of matching and sorting (n=134): time 0.002027/0.1862, allocations: 1.133 MB / 0.9761 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.1863, allocations: 209.2 kB / 0.9763 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.1869, allocations: 0.8061 MB / 0.9771 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.639e-05/0.187, allocations: 61.7 kB / 0.9771 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.1875, allocations: 0.7614 MB / 0.9779 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.1878, allocations: 471.9 kB / 0.9783 GB, free: 8.387 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.1881, allocations: 281 kB / 0.9786 GB, free: 8.102 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1883, allocations: 0.5354 MB / 0.9791 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.1885, allocations: 175.8 kB / 0.9793 GB, free: 7.387 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.189, allocations: 0.5771 MB / 0.9798 GB, free: 6.691 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.1897, allocations: 0.6795 MB / 0.9805 GB, free: 5.926 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.1897, allocations: 0 / 0.9805 GB, free: 5.926 MB / 0.9323 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001553/0.1912, allocations: 0.9685 MB / 0.9814 GB, free: 4.945 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1912, allocations: 4 kB / 0.9815 GB, free: 4.941 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.1912, allocations: 11.94 kB / 0.9815 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/0.1918, allocations: 135.6 kB / 0.9816 GB, free: 4.793 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/0.1928, allocations: 327.5 kB / 0.9819 GB, free: 4.473 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.1945, allocations: 1.894 MB / 0.9838 GB, free: 2.457 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/0.1952, allocations: 119.2 kB / 0.9839 GB, free: 2.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.1953, allocations: 51.97 kB / 0.9839 GB, free: 2.289 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.000507/0.1958, allocations: 243 kB / 0.9841 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.1961, allocations: 183.1 kB / 0.9843 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.198, allocations: 1.108 MB / 0.9854 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.198, allocations: 12 kB / 0.9854 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.198, allocations: 4 kB / 0.9854 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.198, allocations: 11.97 kB / 0.9854 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/0.2015, allocations: 2.113 MB / 0.9875 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.2015, allocations: 0 / 0.9875 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/0.2023, allocations: 263.7 kB / 0.9877 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.2028, allocations: 123.4 kB / 0.9879 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/0.2029, allocations: 35.97 kB / 0.9879 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.2043, allocations: 1.891 MB / 0.9897 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2043, allocations: 4 kB / 0.9898 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.2065, allocations: 1.319 MB / 0.991 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.207, allocations: 294.6 kB / 0.9913 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.2072, allocations: 32 kB / 0.9913 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/0.2078, allocations: 61.5 kB / 0.9914 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.2079, allocations: 101.1 kB / 0.9915 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.208, allocations: 51.95 kB / 0.9916 GB, free: 10.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005171/0.2086, allocations: 489.2 kB / 0.992 GB, free: 9.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2086, allocations: 0 / 0.992 GB, free: 9.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00143/0.21, allocations: 0.5883 MB / 0.9926 GB, free: 9.16 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.001591/0.2116, allocations: 0.6994 MB / 0.9933 GB, free: 8.633 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.213, allocations: 0.8623 MB / 0.9941 GB, free: 7.754 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.213, allocations: 5.688 kB / 0.9941 GB, free: 7.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.2137, allocations: 0.5735 MB / 0.9947 GB, free: 7.156 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.2153, allocations: 0.5463 MB / 0.9952 GB, free: 6.633 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.2198, allocations: 2.625 MB / 0.9978 GB, free: 3.961 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.2201, allocations: 317 kB / 0.9981 GB, free: 3.625 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001142/0.2213, allocations: 310.3 kB / 0.9984 GB, free: 3.316 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/0.2226, allocations: 0.6032 MB / 0.999 GB, free: 2.711 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/0.2226, allocations: 0 / 0.999 GB, free: 2.711 MB / 0.948 GB Notification: Performance of Templates: time 0.03917/0.2617, allocations: 27.63 MB / 1.026 GB, free: 7.574 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.25499562965706]