Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001143/0.001143, 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.001043/0.001043, allocations: 165.6 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.9459/0.9459, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.808/1.808, allocations: 359 MB / 0.6063 GB, free: 10.89 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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.469e-05, allocations: 4.719 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.129/0.129, allocations: 145.6 MB / 0.9304 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.009223/0.1382, allocations: 8.807 MB / 0.939 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005892/0.1388, allocations: 27.81 kB / 0.9391 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.1395, allocations: 281.5 kB / 0.9393 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.1415, allocations: 1.026 MB / 0.9403 GB, free: 4 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.1433, allocations: 1.114 MB / 0.9414 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.1449, allocations: 1.806 MB / 0.9432 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009926/0.1459, allocations: 0.9752 MB / 0.9441 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.1474, allocations: 1.129 MB / 0.9452 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.1479, allocations: 498.5 kB / 0.9457 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.148, allocations: 128 kB / 0.9458 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.1493, allocations: 1.01 MB / 0.9468 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.1495, allocations: 386.7 kB / 0.9472 GB, free: 8.977 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.1498, allocations: 454.8 kB / 0.9476 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.1514, allocations: 1.806 MB / 0.9494 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1514, allocations: 4 kB / 0.9494 GB, free: 6.715 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1514, allocations: 0 / 0.9494 GB, free: 6.715 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.1514, allocations: 0 / 0.9494 GB, free: 6.715 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001695/0.1531, allocations: 1.807 MB / 0.9512 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1531, allocations: 12.03 kB / 0.9512 GB, free: 4.848 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.1542, allocations: 442.1 kB / 0.9516 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.155, allocations: 0.8272 MB / 0.9524 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.1551, allocations: 81.98 kB / 0.9525 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.741e-05/0.1552, allocations: 104 kB / 0.9526 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009732/0.1561, allocations: 1.108 MB / 0.9537 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1562, allocations: 0 / 0.9537 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.1562, allocations: 47.98 kB / 0.9537 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.1562, allocations: 27.94 kB / 0.9537 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.157, allocations: 0.743 MB / 0.9545 GB, free: 1.324 MB / 0.9011 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.002679/0.1596, allocations: 2.476 MB / 0.9569 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.1603, allocations: 0.5368 MB / 0.9574 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1605, allocations: 199.5 kB / 0.9576 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.1606, allocations: 56.95 kB / 0.9577 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004879/0.1611, allocations: 0.6515 MB / 0.9583 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 2.414e-06/0.1611, allocations: 4 kB / 0.9583 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=103): time 0.00158/0.1627, allocations: 0.9363 MB / 0.9592 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.1628, allocations: 196.9 kB / 0.9594 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.1632, allocations: 0.6747 MB / 0.9601 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.1633, allocations: 49.7 kB / 0.9601 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.1636, allocations: 0.5156 MB / 0.9606 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.1637, allocations: 349 kB / 0.9609 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.1639, allocations: 216.1 kB / 0.9611 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1641, allocations: 0.5237 MB / 0.9617 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.1642, allocations: 125.9 kB / 0.9618 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.1646, allocations: 456.4 kB / 0.9622 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.165, allocations: 391 kB / 0.9626 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.165, allocations: 0 / 0.9626 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0009634/0.1659, allocations: 0.7305 MB / 0.9633 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.166, allocations: 4 kB / 0.9633 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.166, allocations: 0 / 0.9633 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005127/0.1665, allocations: 163.2 kB / 0.9635 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.1671, allocations: 219.7 kB / 0.9637 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.169, allocations: 3.628 MB / 0.9672 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.1693, allocations: 91.42 kB / 0.9673 GB, free: 3.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.1694, allocations: 35.97 kB / 0.9673 GB, free: 3.555 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (121): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.1696, allocations: 223 kB / 0.9675 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.1698, allocations: 139.3 kB / 0.9677 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.1709, allocations: 0.9132 MB / 0.9686 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.1709, allocations: 12 kB / 0.9686 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1709, allocations: 0 / 0.9686 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.171, allocations: 3.984 kB / 0.9686 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.1728, allocations: 1.702 MB / 0.9702 GB, free: 492 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1728, allocations: 0 / 0.9702 GB, free: 492 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.1732, allocations: 195.7 kB / 0.9704 GB, free: 296 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000567/0.1738, allocations: 143.2 kB / 0.9706 GB, free: 144 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.1738, allocations: 39.97 kB / 0.9706 GB, free: 104 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.1755, allocations: 3.624 MB / 0.9741 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1755, allocations: 7.922 kB / 0.9742 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.1765, allocations: 0.9308 MB / 0.9751 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.1767, allocations: 230.9 kB / 0.9753 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/0.1768, allocations: 27.98 kB / 0.9753 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.1771, allocations: 55.97 kB / 0.9754 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1772, allocations: 84.83 kB / 0.9754 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/0.1773, allocations: 39.97 kB / 0.9755 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002618/0.1775, allocations: 418.8 kB / 0.9759 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1775, allocations: 4 kB / 0.9759 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008587/0.1784, allocations: 474.8 kB / 0.9763 GB, free: 9.977 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (112): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/0.1798, allocations: 0.7456 MB / 0.9771 GB, free: 9.402 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009894/0.1808, allocations: 0.8527 MB / 0.9779 GB, free: 8.512 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1808, allocations: 0 / 0.9779 GB, free: 8.512 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.1812, allocations: 0.6629 MB / 0.9785 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00082/0.1821, allocations: 387.4 kB / 0.9789 GB, free: 7.449 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.1843, allocations: 1.851 MB / 0.9807 GB, free: 5.555 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.1844, allocations: 239.9 kB / 0.9809 GB, free: 5.297 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004601/0.1849, allocations: 223.8 kB / 0.9812 GB, free: 5.074 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/0.1856, allocations: 453.8 kB / 0.9816 GB, free: 4.629 MB / 0.9323 GB Notification: Performance of SimCode: time 9.32e-07/0.1856, allocations: 0 / 0.9816 GB, free: 4.629 MB / 0.9323 GB Notification: Performance of Templates: time 0.02495/0.2105, allocations: 22.84 MB / 1.004 GB, free: 14.16 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.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.025053838267922]