Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001314/0.001314, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009599/0.0009599, allocations: 161 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.9563/0.9563, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.881/1.881, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.567e-05, allocations: 4.844 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1293/0.1293, allocations: 148.4 MB / 0.9564 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008841/0.1382, allocations: 8.918 MB / 0.9651 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.1386, allocations: 23.81 kB / 0.9652 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.1393, allocations: 285.5 kB / 0.9654 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.1411, allocations: 1.026 MB / 0.9664 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1427, allocations: 1.114 MB / 0.9675 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.1441, allocations: 1.806 MB / 0.9693 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009884/0.1451, allocations: 0.9791 MB / 0.9702 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.1466, allocations: 1.101 MB / 0.9713 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.1471, allocations: 0.4906 MB / 0.9718 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.1472, allocations: 132 kB / 0.9719 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.1485, allocations: 1.01 MB / 0.9729 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.1487, allocations: 390.7 kB / 0.9733 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.149, allocations: 458.8 kB / 0.9737 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.151, allocations: 1.795 MB / 0.9755 GB, free: 9.301 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.151, allocations: 3.984 kB / 0.9755 GB, free: 9.297 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.142e-06/0.151, allocations: 0 / 0.9755 GB, free: 9.297 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.151, allocations: 0 / 0.9755 GB, free: 9.297 MB / 0.9323 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.001902/0.1529, allocations: 1.8 MB / 0.9772 GB, free: 7.453 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1529, allocations: 8.031 kB / 0.9772 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.1541, allocations: 442.1 kB / 0.9777 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008659/0.155, allocations: 0.8467 MB / 0.9785 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.155, allocations: 74 kB / 0.9786 GB, free: 6.062 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.602e-05/0.1551, allocations: 104 kB / 0.9787 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.1562, allocations: 1.186 MB / 0.9798 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1562, allocations: 0 / 0.9798 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.1563, allocations: 40 kB / 0.9799 GB, free: 4.605 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1563, allocations: 27.94 kB / 0.9799 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009648/0.1573, allocations: 0.866 MB / 0.9807 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.1602, allocations: 2.618 MB / 0.9833 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008863/0.1611, allocations: 0.6059 MB / 0.9839 GB, free: 428 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1614, allocations: 239.5 kB / 0.9841 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.1615, allocations: 56.95 kB / 0.9842 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/0.1622, allocations: 0.6751 MB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 2.224e-06/0.1622, allocations: 0 / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=103): time 0.001847/0.1641, allocations: 1.034 MB / 0.9858 GB, free: 14.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.1641, allocations: 204.9 kB / 0.986 GB, free: 14.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005388/0.1647, allocations: 0.6908 MB / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/0.1647, allocations: 49.7 kB / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.165, allocations: 0.5157 MB / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.1652, allocations: 341.1 kB / 0.9876 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.1654, allocations: 224.1 kB / 0.9878 GB, free: 12.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004131/0.1658, allocations: 0.5121 MB / 0.9883 GB, free: 11.72 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.1661, allocations: 169.9 kB / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.1665, allocations: 488.5 kB / 0.9889 GB, free: 11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.1671, allocations: 463.1 kB / 0.9894 GB, free: 10.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1671, allocations: 4 kB / 0.9894 GB, free: 10.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001148/0.1682, allocations: 0.7968 MB / 0.9901 GB, free: 9.719 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1682, allocations: 10.81 kB / 0.9901 GB, free: 9.711 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1682, allocations: 0 / 0.9901 GB, free: 9.711 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/0.1688, allocations: 163.3 kB / 0.9903 GB, free: 9.543 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.1693, allocations: 223.7 kB / 0.9905 GB, free: 9.324 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.1714, allocations: 3.684 MB / 0.9941 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.1717, allocations: 95.47 kB / 0.9942 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.1718, allocations: 39.97 kB / 0.9942 GB, free: 5.262 MB / 0.948 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.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 (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.0002317/0.172, allocations: 235.2 kB / 0.9945 GB, free: 5.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.1722, allocations: 147.3 kB / 0.9946 GB, free: 4.875 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.1739, allocations: 0.9758 MB / 0.9956 GB, free: 3.879 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.1739, allocations: 15.94 kB / 0.9956 GB, free: 3.863 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.1739, allocations: 0 / 0.9956 GB, free: 3.863 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.1739, allocations: 3.984 kB / 0.9956 GB, free: 3.859 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.176, allocations: 1.893 MB / 0.9974 GB, free: 1.902 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.176, allocations: 0 / 0.9974 GB, free: 1.902 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.1765, allocations: 191.7 kB / 0.9976 GB, free: 1.715 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/0.1769, allocations: 155.2 kB / 0.9978 GB, free: 1.555 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.1769, allocations: 31.97 kB / 0.9978 GB, free: 1.523 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.1787, allocations: 3.694 MB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1787, allocations: 7.875 kB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.1801, allocations: 1.013 MB / 1.002 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.1804, allocations: 230.9 kB / 1.003 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.1805, allocations: 28 kB / 1.003 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.1808, allocations: 45.83 kB / 1.003 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.1809, allocations: 88.84 kB / 1.003 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.1809, allocations: 43.97 kB / 1.003 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003454/0.1813, allocations: 454.9 kB / 1.003 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1813, allocations: 0 / 1.003 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007916/0.1821, allocations: 478.8 kB / 1.004 GB, free: 11.2 MB / 0.9636 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.001421/0.1835, allocations: 0.7491 MB / 1.004 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.1846, allocations: 0.9232 MB / 1.005 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1846, allocations: 416 / 1.005 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.1851, allocations: 0.698 MB / 1.006 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.186, allocations: 386.5 kB / 1.006 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.1885, allocations: 1.877 MB / 1.008 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.1886, allocations: 243.9 kB / 1.008 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005541/0.1892, allocations: 291.7 kB / 1.009 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.1894, allocations: 128.4 kB / 1.009 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of SimCode: time 8.42e-07/0.1894, allocations: 0 / 1.009 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of Templates: time 0.02448/0.2139, allocations: 22.05 MB / 1.03 GB, free: 272 kB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.950222122948617]