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.001358/0.001358, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001578/0.001578, allocations: 165 kB / 23.82 MB, free: 0.75 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.9356/0.9356, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.911/1.911, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.413e-06/1.413e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.568e-05, allocations: 3.25 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1366/0.1367, allocations: 151.5 MB / 0.9595 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.1514, allocations: 13.56 MB / 0.9727 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.1527, allocations: 43.62 kB / 0.9727 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0009702/0.1537, allocations: 404.4 kB / 0.9731 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.1563, allocations: 1.308 MB / 0.9744 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.1593, allocations: 1.48 MB / 0.9758 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003227/0.1625, allocations: 2.991 MB / 0.9788 GB, free: 5.926 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.1644, allocations: 1.537 MB / 0.9803 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.1678, allocations: 2.011 MB / 0.9822 GB, free: 2.422 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.1688, allocations: 0.8295 MB / 0.983 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003483/0.1692, allocations: 192 kB / 0.9832 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.1709, allocations: 0.858 MB / 0.9841 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.1713, allocations: 0.588 MB / 0.9846 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009982/0.1723, allocations: 0.7092 MB / 0.9853 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.177, allocations: 2.141 MB / 0.9874 GB, free: 13.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.177, allocations: 0 / 0.9874 GB, free: 13.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.026e-06/0.177, allocations: 4 kB / 0.9874 GB, free: 13.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.559e-05/0.1771, allocations: 0 / 0.9874 GB, free: 13.09 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.00343/0.1805, allocations: 2.388 MB / 0.9898 GB, free: 10.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1805, allocations: 12.03 kB / 0.9898 GB, free: 10.63 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.1826, allocations: 0.7041 MB / 0.9905 GB, free: 9.926 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.184, allocations: 1.092 MB / 0.9915 GB, free: 8.777 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.1841, allocations: 119.2 kB / 0.9916 GB, free: 8.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.1842, allocations: 179.9 kB / 0.9918 GB, free: 8.484 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.1862, allocations: 1.961 MB / 0.9937 GB, free: 6.285 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.1862, allocations: 11.94 kB / 0.9937 GB, free: 6.273 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/0.1863, allocations: 71.94 kB / 0.9938 GB, free: 6.203 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.1863, allocations: 47.98 kB / 0.9938 GB, free: 6.156 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.1877, allocations: 1.13 MB / 0.9949 GB, free: 5.02 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.004824/0.1925, allocations: 4.794 MB / 0.9996 GB, free: 108 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.1937, allocations: 0.7789 MB / 1 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.1941, allocations: 322.4 kB / 1.001 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.1944, allocations: 117.2 kB / 1.001 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000861/0.1952, allocations: 1.066 MB / 1.002 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=134): time 2.775e-06/0.1952, allocations: 0 / 1.002 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.002438/0.1977, allocations: 1.27 MB / 1.003 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.1978, allocations: 209.2 kB / 1.003 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.1985, allocations: 0.8184 MB / 1.004 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.1986, allocations: 53.7 kB / 1.004 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.199, allocations: 0.7654 MB / 1.005 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.1993, allocations: 460.1 kB / 1.005 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.1995, allocations: 273.1 kB / 1.006 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1997, allocations: 0.5316 MB / 1.006 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.2, allocations: 231.8 kB / 1.006 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.2006, allocations: 0.6279 MB / 1.007 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/0.2015, allocations: 0.7617 MB / 1.008 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.2015, allocations: 0 / 1.008 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001505/0.203, allocations: 1.074 MB / 1.009 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.203, allocations: 8.094 kB / 1.009 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.203, allocations: 8 kB / 1.009 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.2035, allocations: 131.5 kB / 1.009 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.2043, allocations: 335.5 kB / 1.009 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.2064, allocations: 1.927 MB / 1.011 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007911/0.2071, allocations: 119.3 kB / 1.011 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.2072, allocations: 55.97 kB / 1.011 GB, free: 3.605 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.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 (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.000568/0.2078, allocations: 259.1 kB / 1.011 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.208, allocations: 183.1 kB / 1.012 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.2097, allocations: 1.194 MB / 1.013 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2097, allocations: 12 kB / 1.013 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2097, allocations: 0 / 1.013 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.2097, allocations: 11.97 kB / 1.013 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.2128, allocations: 2.419 MB / 1.015 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2128, allocations: 4 kB / 1.015 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/0.2135, allocations: 271.7 kB / 1.015 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003741/0.2139, allocations: 119.5 kB / 1.016 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.2139, allocations: 35.97 kB / 1.016 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.2154, allocations: 1.918 MB / 1.018 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2154, allocations: 3.938 kB / 1.018 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.2174, allocations: 1.463 MB / 1.019 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.2178, allocations: 314.6 kB / 1.019 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.218, allocations: 35.92 kB / 1.019 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.2184, allocations: 59.95 kB / 1.019 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.2185, allocations: 97.12 kB / 1.019 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/0.2186, allocations: 59.95 kB / 1.019 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004819/0.2191, allocations: 0.5091 MB / 1.02 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.2191, allocations: 0 / 1.02 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001333/0.2204, allocations: 0.5883 MB / 1.021 GB, free: 9.82 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.001511/0.222, allocations: 0.7056 MB / 1.021 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.2234, allocations: 0.9649 MB / 1.022 GB, free: 8.305 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2234, allocations: 4.5 kB / 1.022 GB, free: 8.301 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006714/0.224, allocations: 0.6165 MB / 1.023 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.2253, allocations: 0.5485 MB / 1.023 GB, free: 7.141 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.2296, allocations: 2.658 MB / 1.026 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.2298, allocations: 317 kB / 1.026 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009968/0.2308, allocations: 406.2 kB / 1.027 GB, free: 3.695 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.2312, allocations: 152.4 kB / 1.027 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of SimCode: time 1.643e-06/0.2312, allocations: 0 / 1.027 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of Templates: time 0.3934/0.6245, allocations: 26.6 MB / 1.053 GB, free: 123.7 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.616111013107002]