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.001352/0.001352, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001514/0.001514, allocations: 169 kB / 24.28 MB, free: 276 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.9396/0.9396, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.896/1.896, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.685e-06/2.685e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.505e-05/3.773e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1535/0.1536, allocations: 172.4 MB / 0.9554 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.1718, allocations: 16.1 MB / 0.9712 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.1733, allocations: 43.62 kB / 0.9712 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.175, allocations: 0.6009 MB / 0.9718 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.1787, allocations: 1.674 MB / 0.9734 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.1822, allocations: 1.744 MB / 0.9751 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003464/0.1857, allocations: 3.022 MB / 0.9781 GB, free: 8.574 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.1878, allocations: 1.521 MB / 0.9796 GB, free: 6.996 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/0.1913, allocations: 2.044 MB / 0.9815 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.1925, allocations: 0.8841 MB / 0.9824 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.000359/0.1928, allocations: 208 kB / 0.9826 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.195, allocations: 1.239 MB / 0.9838 GB, free: 2.727 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004674/0.1955, allocations: 0.6113 MB / 0.9844 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0008582/0.1964, allocations: 0.7248 MB / 0.9851 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.2004, allocations: 2.32 MB / 0.9874 GB, free: 15.06 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2004, allocations: 4 kB / 0.9874 GB, free: 15.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2004, allocations: 0 / 0.9874 GB, free: 15.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.233e-05/0.2004, allocations: 0 / 0.9874 GB, free: 15.05 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.003013/0.2035, allocations: 2.426 MB / 0.9898 GB, free: 12.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2035, allocations: 11.97 kB / 0.9898 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.2058, allocations: 0.7236 MB / 0.9905 GB, free: 11.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.2073, allocations: 1.099 MB / 0.9916 GB, free: 10.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-05/0.2074, allocations: 127.2 kB / 0.9917 GB, free: 10.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.2076, allocations: 180 kB / 0.9918 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.2097, allocations: 2.023 MB / 0.9938 GB, free: 8.105 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.2098, allocations: 4 kB / 0.9938 GB, free: 8.102 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.2099, allocations: 72 kB / 0.9939 GB, free: 8.031 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.2099, allocations: 51.98 kB / 0.9939 GB, free: 7.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.2115, allocations: 1.138 MB / 0.9951 GB, free: 6.836 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.005815/0.2173, allocations: 4.868 MB / 0.9998 GB, free: 1.844 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.2186, allocations: 0.7982 MB / 1.001 GB, free: 1.043 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.219, allocations: 311.4 kB / 1.001 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004164/0.2194, allocations: 141.2 kB / 1.001 GB, free: 0.5977 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009942/0.2204, allocations: 1.068 MB / 1.002 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=134): time 4.789e-06/0.2204, allocations: 0 / 1.002 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.002616/0.2231, allocations: 1.262 MB / 1.003 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.2232, allocations: 209.2 kB / 1.003 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.224, allocations: 0.796 MB / 1.004 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.2241, allocations: 61.7 kB / 1.004 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/0.2246, allocations: 0.7384 MB / 1.005 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/0.2249, allocations: 464 kB / 1.005 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.2252, allocations: 252.5 kB / 1.006 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2253, allocations: 0.5237 MB / 1.006 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.2259, allocations: 226.5 kB / 1.006 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.2265, allocations: 0.6211 MB / 1.007 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000897/0.2274, allocations: 0.625 MB / 1.008 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2274, allocations: 3.938 kB / 1.008 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001711/0.2291, allocations: 0.9917 MB / 1.009 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.2292, allocations: 4 kB / 1.009 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.2292, allocations: 4.188 kB / 1.009 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/0.2297, allocations: 139.5 kB / 1.009 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/0.2305, allocations: 307.6 kB / 1.009 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.2323, allocations: 1.902 MB / 1.011 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/0.233, allocations: 111.3 kB / 1.011 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.2331, allocations: 55.95 kB / 1.011 GB, free: 5.738 MB / 0.9636 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.000525/0.2336, allocations: 247 kB / 1.011 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.2339, allocations: 179.2 kB / 1.012 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.2358, allocations: 1.194 MB / 1.013 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.2358, allocations: 12 kB / 1.013 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2358, allocations: 4 kB / 1.013 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.2358, allocations: 11.91 kB / 1.013 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/0.2394, allocations: 2.433 MB / 1.015 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2394, allocations: 0 / 1.015 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.2401, allocations: 263.7 kB / 1.015 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/0.2405, allocations: 127.5 kB / 1.015 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.2406, allocations: 39.97 kB / 1.015 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.2419, allocations: 1.921 MB / 1.017 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2419, allocations: 4 kB / 1.017 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.244, allocations: 1.471 MB / 1.019 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.2445, allocations: 318.5 kB / 1.019 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.2447, allocations: 28 kB / 1.019 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.2452, allocations: 74.36 kB / 1.019 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.2453, allocations: 97.12 kB / 1.019 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.2454, allocations: 59.95 kB / 1.019 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005191/0.2459, allocations: 0.508 MB / 1.02 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.2459, allocations: 0 / 1.02 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001412/0.2473, allocations: 0.5883 MB / 1.02 GB, free: 11.93 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.001585/0.2489, allocations: 0.7278 MB / 1.021 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.2504, allocations: 0.9239 MB / 1.022 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.2504, allocations: 4.5 kB / 1.022 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006937/0.2511, allocations: 0.6281 MB / 1.023 GB, free: 9.77 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.2524, allocations: 0.5531 MB / 1.023 GB, free: 9.242 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.2566, allocations: 2.661 MB / 1.026 GB, free: 6.535 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.2568, allocations: 320.8 kB / 1.026 GB, free: 6.195 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009883/0.2578, allocations: 393.9 kB / 1.026 GB, free: 5.809 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.2581, allocations: 152.4 kB / 1.027 GB, free: 5.66 MB / 0.9792 GB Notification: Performance of SimCode: time 1.693e-06/0.2581, allocations: 0 / 1.027 GB, free: 5.66 MB / 0.9792 GB Notification: Performance of Templates: time 0.3701/0.6282, allocations: 25.6 MB / 1.052 GB, free: 300.8 MB / 0.9948 GB " [Timeout remaining time 299] 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.504259977024049]