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.001228/0.001228, 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.0009418/0.0009418, allocations: 166 kB / 24.87 MB, free: 9.258 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.8951/0.8951, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.835/1.835, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.502e-06/1.502e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.949e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1298/0.1298, allocations: 145.5 MB / 0.9549 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008783/0.1386, allocations: 8.816 MB / 0.9635 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.139, allocations: 27.81 kB / 0.9635 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.1396, allocations: 277.6 kB / 0.9638 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.1413, allocations: 1.022 MB / 0.9648 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.1431, allocations: 1.126 MB / 0.9659 GB, free: 4.125 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.1442, allocations: 1.795 MB / 0.9677 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008206/0.1451, allocations: 0.9791 MB / 0.9686 GB, free: 1.316 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.1464, allocations: 1.121 MB / 0.9697 GB, free: 240 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.1468, allocations: 494.5 kB / 0.9702 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.1469, allocations: 132 kB / 0.9703 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.1481, allocations: 1.01 MB / 0.9713 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.1484, allocations: 386.7 kB / 0.9717 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.1487, allocations: 454.8 kB / 0.9721 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.1505, allocations: 1.806 MB / 0.9739 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1505, allocations: 0 / 0.9739 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1505, allocations: 0 / 0.9739 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.1505, allocations: 0 / 0.9739 GB, free: 11.97 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.001658/0.1522, allocations: 1.803 MB / 0.9756 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.1522, allocations: 8.031 kB / 0.9756 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1533, allocations: 450.1 kB / 0.9761 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.1541, allocations: 0.8311 MB / 0.9769 GB, free: 8.812 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.1542, allocations: 81.98 kB / 0.977 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/0.1543, allocations: 104 kB / 0.9771 GB, free: 8.633 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008738/0.1551, allocations: 1.112 MB / 0.9781 GB, free: 7.391 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1551, allocations: 0 / 0.9781 GB, free: 7.391 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/0.1552, allocations: 48 kB / 0.9782 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.1552, allocations: 27.94 kB / 0.9782 GB, free: 7.316 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/0.1559, allocations: 0.7391 MB / 0.9789 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.1585, allocations: 2.481 MB / 0.9814 GB, free: 4.039 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.1592, allocations: 0.5294 MB / 0.9819 GB, free: 3.504 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1594, allocations: 197.1 kB / 0.9821 GB, free: 3.312 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.1595, allocations: 64.95 kB / 0.9821 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000617/0.1602, allocations: 0.6553 MB / 0.9828 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=103): time 2.073e-06/0.1602, allocations: 0 / 0.9828 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.001592/0.1617, allocations: 0.9285 MB / 0.9837 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.1618, allocations: 200.9 kB / 0.9839 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.1623, allocations: 0.6708 MB / 0.9845 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.1623, allocations: 49.7 kB / 0.9846 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.1626, allocations: 0.5195 MB / 0.9851 GB, free: 64 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.1628, allocations: 349.2 kB / 0.9854 GB, free: 15.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.1629, allocations: 216.1 kB / 0.9856 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1631, allocations: 0.5198 MB / 0.9861 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.1635, allocations: 129.8 kB / 0.9862 GB, free: 14.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.1638, allocations: 444.5 kB / 0.9867 GB, free: 14.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.1642, allocations: 399 kB / 0.987 GB, free: 13.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1642, allocations: 4 kB / 0.987 GB, free: 13.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0009531/0.1652, allocations: 0.7303 MB / 0.9878 GB, free: 13.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1652, allocations: 4 kB / 0.9878 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1652, allocations: 4 kB / 0.9878 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005043/0.1657, allocations: 167.2 kB / 0.9879 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.1662, allocations: 219.7 kB / 0.9881 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.1679, allocations: 3.617 MB / 0.9917 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.1683, allocations: 91.52 kB / 0.9918 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.1683, allocations: 35.97 kB / 0.9918 GB, free: 8.816 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.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.0002345/0.1685, allocations: 226.9 kB / 0.992 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.1687, allocations: 143.3 kB / 0.9921 GB, free: 8.441 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.1699, allocations: 0.9172 MB / 0.993 GB, free: 7.504 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1699, allocations: 12 kB / 0.9931 GB, free: 7.492 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1699, allocations: 0 / 0.9931 GB, free: 7.492 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.1699, allocations: 11.91 kB / 0.9931 GB, free: 7.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.172, allocations: 1.702 MB / 0.9947 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.172, allocations: 0 / 0.9947 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.1724, allocations: 175.8 kB / 0.9949 GB, free: 5.547 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.1728, allocations: 159.2 kB / 0.995 GB, free: 5.383 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.1728, allocations: 27.98 kB / 0.9951 GB, free: 5.355 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.1744, allocations: 3.64 MB / 0.9986 GB, free: 1.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1744, allocations: 0 / 0.9986 GB, free: 1.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009801/0.1754, allocations: 0.9386 MB / 0.9995 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.1756, allocations: 226.9 kB / 0.9998 GB, free: 304 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/0.1757, allocations: 32 kB / 0.9998 GB, free: 272 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.176, allocations: 47.89 kB / 0.9998 GB, free: 224 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1761, allocations: 88.84 kB / 0.9999 GB, free: 132 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/0.1762, allocations: 35.97 kB / 1 GB, free: 96 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005163/0.1767, allocations: 418.8 kB / 1 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1767, allocations: 0 / 1 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0008089/0.1775, allocations: 482.8 kB / 1.001 GB, free: 15.22 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.001308/0.1788, allocations: 0.7449 MB / 1.002 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008424/0.1796, allocations: 0.8449 MB / 1.002 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1796, allocations: 8.594 kB / 1.002 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.1801, allocations: 0.6588 MB / 1.003 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008321/0.181, allocations: 396.1 kB / 1.003 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.1832, allocations: 1.845 MB / 1.005 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.1834, allocations: 231.9 kB / 1.005 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004587/0.1838, allocations: 219.9 kB / 1.006 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006835/0.1845, allocations: 449.8 kB / 1.006 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/0.1845, allocations: 0 / 1.006 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of Templates: time 0.02515/0.2096, allocations: 22.85 MB / 1.028 GB, free: 3.418 MB / 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.865393261890858]