Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008866/0.0008866, allocations: 91.55 kB / 20.2 MB, free: 4.211 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.001146/0.001146, allocations: 162.4 kB / 23.51 MB, free: 0.9023 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.9545/0.9545, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.842/1.842, allocations: 390.1 MB / 0.6352 GB, free: 11.45 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8271 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.927e-05, allocations: 3.406 kB / 0.8271 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1378/0.1378, allocations: 155.3 MB / 0.9787 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.1526, allocations: 14.75 MB / 0.9931 GB, free: 4.691 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.154, allocations: 47.56 kB / 0.9932 GB, free: 4.645 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.1557, allocations: 0.6087 MB / 0.9938 GB, free: 4.031 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.1592, allocations: 1.701 MB / 0.9954 GB, free: 2.32 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.1624, allocations: 1.729 MB / 0.9971 GB, free: 0.5859 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003156/0.1656, allocations: 3.01 MB / 1 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.1675, allocations: 1.442 MB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/0.1714, allocations: 2.16 MB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.1728, allocations: 0.8724 MB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0004302/0.1732, allocations: 212 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.1754, allocations: 1.278 MB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.1758, allocations: 0.6113 MB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0009363/0.1767, allocations: 0.7326 MB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.004547/0.1813, allocations: 3.283 MB / 1.01 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1813, allocations: 0 / 1.01 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1813, allocations: 0 / 1.01 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.207e-05/0.1813, allocations: 4 kB / 1.01 GB, free: 2.938 MB / 0.9636 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.003431/0.1848, allocations: 2.337 MB / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1848, allocations: 12.03 kB / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.1876, allocations: 0.8482 MB / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.1891, allocations: 1.124 MB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.1892, allocations: 123.2 kB / 1.015 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.1894, allocations: 168 kB / 1.015 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.192, allocations: 2.498 MB / 1.017 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.192, allocations: 3.938 kB / 1.017 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.1922, allocations: 72 kB / 1.017 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.1922, allocations: 51.98 kB / 1.017 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.1945, allocations: 1.827 MB / 1.019 GB, free: 9.547 MB / 0.9792 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.006528/0.201, allocations: 4.598 MB / 1.024 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.2033, allocations: 1.451 MB / 1.025 GB, free: 3.398 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008084/0.2041, allocations: 0.5902 MB / 1.026 GB, free: 2.809 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.2043, allocations: 89.25 kB / 1.026 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.2056, allocations: 1.361 MB / 1.027 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=134): time 3.567e-06/0.2056, allocations: 0 / 1.027 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of matching and sorting (n=134): time 0.003645/0.2093, allocations: 2.044 MB / 1.029 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.2094, allocations: 209.2 kB / 1.029 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.2105, allocations: 0.833 MB / 1.03 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.2106, allocations: 61.7 kB / 1.03 GB, free: 14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.2111, allocations: 0.6888 MB / 1.031 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.2114, allocations: 460 kB / 1.031 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.2117, allocations: 250.8 kB / 1.032 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2118, allocations: 357.9 kB / 1.032 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007711/0.2126, allocations: 0.5179 MB / 1.032 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009837/0.2136, allocations: 0.8808 MB / 1.033 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.2151, allocations: 1.169 MB / 1.034 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2151, allocations: 4 kB / 1.034 GB, free: 9.555 MB / 0.9948 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002466/0.2176, allocations: 1.559 MB / 1.036 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.2176, allocations: 4 kB / 1.036 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2176, allocations: 4 kB / 1.036 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003539/0.218, allocations: 92.81 kB / 1.036 GB, free: 7.883 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008639/0.2188, allocations: 315.5 kB / 1.036 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.2205, allocations: 1.523 MB / 1.038 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008649/0.2214, allocations: 141.7 kB / 1.038 GB, free: 5.809 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-05/0.2215, allocations: 59.95 kB / 1.038 GB, free: 5.75 MB / 0.9948 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.0007909/0.2223, allocations: 392.1 kB / 1.038 GB, free: 5.359 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.2226, allocations: 175.2 kB / 1.039 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.2251, allocations: 1.722 MB / 1.04 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.2251, allocations: 12 kB / 1.04 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2251, allocations: 3.984 kB / 1.04 GB, free: 3.438 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.2251, allocations: 11.92 kB / 1.04 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004406/0.2295, allocations: 3.06 MB / 1.043 GB, free: 316 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2295, allocations: 7.938 kB / 1.043 GB, free: 308 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/0.2304, allocations: 283.6 kB / 1.044 GB, free: 24 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/0.2307, allocations: 76.86 kB / 1.044 GB, free: 15.94 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.2308, allocations: 39.95 kB / 1.044 GB, free: 15.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.232, allocations: 1.547 MB / 1.045 GB, free: 14.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.232, allocations: 0 / 1.045 GB, free: 14.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/0.2352, allocations: 2.42 MB / 1.048 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.2359, allocations: 330.7 kB / 1.048 GB, free: 11.48 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.2361, allocations: 36.05 kB / 1.048 GB, free: 11.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/0.2367, allocations: 99.89 kB / 1.048 GB, free: 11.34 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.2369, allocations: 97.12 kB / 1.048 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/0.237, allocations: 71.94 kB / 1.048 GB, free: 11.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006351/0.2376, allocations: 0.5782 MB / 1.049 GB, free: 10.59 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.2376, allocations: 0 / 1.049 GB, free: 10.59 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001279/0.2389, allocations: 0.5844 MB / 1.049 GB, free: 10 MB / 1.01 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 (144): * Single equations (assignments): 133 * 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.001326/0.2402, allocations: 0.7303 MB / 1.05 GB, free: 9.496 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.2425, allocations: 1.388 MB / 1.051 GB, free: 8.094 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.2425, allocations: 4.5 kB / 1.051 GB, free: 8.09 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009771/0.2435, allocations: 0.7791 MB / 1.052 GB, free: 7.301 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.2449, allocations: 0.4973 MB / 1.053 GB, free: 6.824 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.249, allocations: 2.995 MB / 1.056 GB, free: 3.781 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.2495, allocations: 0.7318 MB / 1.056 GB, free: 3.008 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001146/0.2507, allocations: 421.8 kB / 1.057 GB, free: 2.594 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.251, allocations: 156.4 kB / 1.057 GB, free: 2.441 MB / 1.01 GB Notification: Performance of SimCode: time 1.663e-06/0.251, allocations: 0 / 1.057 GB, free: 2.441 MB / 1.01 GB Notification: Performance of Templates: time 0.3623/0.6133, allocations: 26.32 MB / 1.082 GB, free: 268.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",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.2210410833358765]