Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001464/0.001464, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.002304/0.002304, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9472/0.9472, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.834/1.834, allocations: 377.9 MB / 0.624 GB, free: 8.414 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.247e-05, allocations: 2.312 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1269/0.1269, allocations: 148.2 MB / 0.9567 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.1437, allocations: 15.31 MB / 0.9717 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.1451, allocations: 43.62 kB / 0.9717 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.1464, allocations: 424.3 kB / 0.9721 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.1501, allocations: 1.499 MB / 0.9736 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.1527, allocations: 1.457 MB / 0.975 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.156, allocations: 2.959 MB / 0.9779 GB, free: 7.02 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.1583, allocations: 1.649 MB / 0.9795 GB, free: 5.312 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003875/0.1622, allocations: 2.072 MB / 0.9815 GB, free: 3.383 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.1635, allocations: 0.8996 MB / 0.9824 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.000466/0.164, allocations: 216 kB / 0.9826 GB, free: 2.27 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.1661, allocations: 1.096 MB / 0.9837 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005947/0.1667, allocations: 0.8296 MB / 0.9845 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.1677, allocations: 0.8223 MB / 0.9853 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003897/0.1716, allocations: 2.619 MB / 0.9879 GB, free: 12.89 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1716, allocations: 0 / 0.9879 GB, free: 12.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1716, allocations: 0 / 0.9879 GB, free: 12.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.146e-05/0.1717, allocations: 0 / 0.9879 GB, free: 12.89 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.003703/0.1754, allocations: 2.855 MB / 0.9906 GB, free: 9.969 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1754, allocations: 8.031 kB / 0.9907 GB, free: 9.961 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/0.178, allocations: 0.875 MB / 0.9915 GB, free: 9.082 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.1797, allocations: 1.329 MB / 0.9928 GB, free: 7.707 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.1798, allocations: 131.4 kB / 0.9929 GB, free: 7.578 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.1799, allocations: 184 kB / 0.9931 GB, free: 7.398 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.1816, allocations: 1.978 MB / 0.995 GB, free: 5.188 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.1816, allocations: 0 / 0.995 GB, free: 5.188 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.1817, allocations: 76 kB / 0.9951 GB, free: 5.113 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.1818, allocations: 40 kB / 0.9952 GB, free: 5.074 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009784/0.1827, allocations: 1.011 MB / 0.9961 GB, free: 4.055 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/0.1873, allocations: 3.875 MB / 0.9999 GB, free: 100 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.1883, allocations: 0.7775 MB / 1.001 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.1886, allocations: 334 kB / 1.001 GB, free: 15 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.1888, allocations: 103.9 kB / 1.001 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007883/0.1895, allocations: 1.212 MB / 1.002 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 2.985e-06/0.1895, allocations: 0 / 1.002 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.002417/0.192, allocations: 1.502 MB / 1.004 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.192, allocations: 205.2 kB / 1.004 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009178/0.193, allocations: 1.231 MB / 1.005 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.046e-05/0.193, allocations: 61.7 kB / 1.005 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.1936, allocations: 0.9373 MB / 1.006 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.1939, allocations: 0.515 MB / 1.007 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005177/0.1944, allocations: 285 kB / 1.007 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1945, allocations: 0.5392 MB / 1.007 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.1948, allocations: 195.8 kB / 1.008 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.1952, allocations: 0.7418 MB / 1.008 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.1959, allocations: 0.5783 MB / 1.009 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.1959, allocations: 3.984 kB / 1.009 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001527/0.1974, allocations: 1.119 MB / 1.01 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1975, allocations: 8 kB / 1.01 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1975, allocations: 7.922 kB / 1.01 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000675/0.1981, allocations: 270.2 kB / 1.01 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/0.1989, allocations: 335.5 kB / 1.011 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.2028, allocations: 8.848 MB / 1.019 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.2037, allocations: 135.3 kB / 1.019 GB, free: 11.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-05/0.2038, allocations: 47.97 kB / 1.019 GB, free: 11.05 MB / 0.9792 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 (165): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005294/0.2043, allocations: 251 kB / 1.02 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.2046, allocations: 234.8 kB / 1.02 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.2065, allocations: 1.35 MB / 1.021 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.2066, allocations: 16 kB / 1.021 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2066, allocations: 0 / 1.021 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.2066, allocations: 7.969 kB / 1.021 GB, free: 9.16 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/0.2099, allocations: 2.549 MB / 1.024 GB, free: 6.539 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.2099, allocations: 0 / 1.024 GB, free: 6.539 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/0.2108, allocations: 295.6 kB / 1.024 GB, free: 6.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006112/0.2114, allocations: 270.1 kB / 1.024 GB, free: 5.965 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-05/0.2115, allocations: 43.95 kB / 1.024 GB, free: 5.922 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.2152, allocations: 8.848 MB / 1.033 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2152, allocations: 3.938 kB / 1.033 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.2174, allocations: 1.367 MB / 1.034 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.2181, allocations: 358.3 kB / 1.035 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/0.2185, allocations: 39.92 kB / 1.035 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.219, allocations: 70.58 kB / 1.035 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.2192, allocations: 113.8 kB / 1.035 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.2193, allocations: 63.94 kB / 1.035 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007239/0.2201, allocations: 0.7393 MB / 1.036 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2201, allocations: 4 kB / 1.036 GB, free: 9.707 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001749/0.2218, allocations: 0.717 MB / 1.036 GB, free: 8.988 MB / 0.9948 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 (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.00171/0.2235, allocations: 0.7534 MB / 1.037 GB, free: 8.402 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.2252, allocations: 1.613 MB / 1.039 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.2252, allocations: 4.891 kB / 1.039 GB, free: 6.695 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009467/0.2262, allocations: 1.328 MB / 1.04 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.2278, allocations: 0.5887 MB / 1.04 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.2322, allocations: 3.272 MB / 1.044 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.2326, allocations: 436.7 kB / 1.044 GB, free: 0.9336 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001101/0.2337, allocations: 368.6 kB / 1.044 GB, free: 0.5664 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.2348, allocations: 0.6813 MB / 1.045 GB, free: 15.88 MB / 1.01 GB Notification: Performance of SimCode: time 2.154e-06/0.2348, allocations: 4 kB / 1.045 GB, free: 15.88 MB / 1.01 GB Notification: Performance of Templates: time 0.4022/0.637, allocations: 34.82 MB / 1.079 GB, free: 137.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.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.6858181823045015]