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.001346/0.001346, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001469/0.001469, allocations: 161 kB / 24.17 MB, free: 328 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.9743/0.9743, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.899/1.899, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.673e-06/1.673e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.623e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1371/0.1371, allocations: 150.4 MB / 0.9069 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.1531, allocations: 15.55 MB / 0.9221 GB, free: 268 kB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.1545, allocations: 43.62 kB / 0.9221 GB, free: 224 kB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.1555, allocations: 420.5 kB / 0.9225 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.1587, allocations: 1.456 MB / 0.9239 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.1612, allocations: 1.437 MB / 0.9253 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002828/0.164, allocations: 2.959 MB / 0.9282 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.1669, allocations: 1.934 MB / 0.9301 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.1698, allocations: 1.882 MB / 0.932 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.171, allocations: 0.8879 MB / 0.9328 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0003402/0.1714, allocations: 216 kB / 0.933 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.1732, allocations: 1.154 MB / 0.9342 GB, free: 3.941 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0005003/0.1737, allocations: 0.8257 MB / 0.935 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0008471/0.1746, allocations: 0.8222 MB / 0.9358 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.1777, allocations: 2.612 MB / 0.9383 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1777, allocations: 0 / 0.9383 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1777, allocations: 0 / 0.9383 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.851e-05/0.1778, allocations: 0 / 0.9383 GB, free: 15.66 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.002839/0.1806, allocations: 2.672 MB / 0.9409 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1807, allocations: 12.03 kB / 0.9409 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.183, allocations: 0.8061 MB / 0.9417 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.1844, allocations: 1.124 MB / 0.9428 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.244e-05/0.1845, allocations: 127.4 kB / 0.9429 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.1847, allocations: 188 kB / 0.9431 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.1863, allocations: 1.988 MB / 0.9451 GB, free: 8.434 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.1863, allocations: 4 kB / 0.9451 GB, free: 8.43 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.1864, allocations: 72 kB / 0.9451 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.1865, allocations: 40 kB / 0.9452 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1876, allocations: 0.8748 MB / 0.946 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.192, allocations: 2.991 MB / 0.9489 GB, free: 4.379 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/0.193, allocations: 0.7392 MB / 0.9497 GB, free: 3.633 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.1933, allocations: 283.6 kB / 0.9499 GB, free: 3.355 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.1935, allocations: 73.27 kB / 0.95 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008349/0.1943, allocations: 1.204 MB / 0.9512 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=154): time 3.978e-06/0.1943, allocations: 4 kB / 0.9512 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=154): time 0.002158/0.1965, allocations: 1.161 MB / 0.9523 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.1966, allocations: 209.2 kB / 0.9525 GB, free: 492 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/0.1975, allocations: 1.128 MB / 0.9536 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.15e-05/0.1976, allocations: 61.7 kB / 0.9537 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.1979, allocations: 0.6276 MB / 0.9543 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.1982, allocations: 0.515 MB / 0.9548 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.1984, allocations: 255.4 kB / 0.955 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.1985, allocations: 365.8 kB / 0.9554 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.1988, allocations: 166.7 kB / 0.9556 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.1992, allocations: 0.6631 MB / 0.9562 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.1999, allocations: 0.5569 MB / 0.9567 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1999, allocations: 0 / 0.9567 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001182/0.201, allocations: 0.8125 MB / 0.9575 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2011, allocations: 8 kB / 0.9575 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2011, allocations: 0 / 0.9575 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006792/0.2018, allocations: 263.9 kB / 0.9578 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/0.2027, allocations: 379.5 kB / 0.9582 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.2057, allocations: 6.052 MB / 0.9641 GB, free: 3.988 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.2064, allocations: 127.4 kB / 0.9642 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.2064, allocations: 39.95 kB / 0.9642 GB, free: 3.824 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 (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.000424/0.2069, allocations: 211 kB / 0.9644 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.207, allocations: 159.8 kB / 0.9646 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.2085, allocations: 1.078 MB / 0.9656 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.2085, allocations: 19.94 kB / 0.9657 GB, free: 2.324 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2085, allocations: 4 kB / 0.9657 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.2085, allocations: 7.969 kB / 0.9657 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.2111, allocations: 2.059 MB / 0.9677 GB, free: 204 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2111, allocations: 0 / 0.9677 GB, free: 204 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/0.2119, allocations: 372 kB / 0.968 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005508/0.2125, allocations: 236.1 kB / 0.9683 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.2125, allocations: 35.97 kB / 0.9683 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/0.2152, allocations: 6.081 MB / 0.9742 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2152, allocations: 0 / 0.9742 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.2164, allocations: 1.016 MB / 0.9752 GB, free: 7.973 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.2168, allocations: 286.3 kB / 0.9755 GB, free: 7.691 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.2169, allocations: 35.98 kB / 0.9755 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.2174, allocations: 74.2 kB / 0.9756 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.2175, allocations: 117.7 kB / 0.9757 GB, free: 7.473 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/0.2176, allocations: 55.94 kB / 0.9758 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004732/0.2181, allocations: 0.5876 MB / 0.9763 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.2181, allocations: 0 / 0.9763 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001174/0.2193, allocations: 0.7131 MB / 0.977 GB, free: 6.113 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 (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.001706/0.221, allocations: 0.9016 MB / 0.9779 GB, free: 5.48 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.2222, allocations: 1.251 MB / 0.9791 GB, free: 4.16 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/0.2222, allocations: 16.89 kB / 0.9792 GB, free: 4.145 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007408/0.2229, allocations: 1.005 MB / 0.9801 GB, free: 3.078 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.2242, allocations: 0.569 MB / 0.9807 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.2281, allocations: 3.286 MB / 0.9839 GB, free: 15.19 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2284, allocations: 436.7 kB / 0.9843 GB, free: 14.74 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008986/0.2293, allocations: 368.5 kB / 0.9847 GB, free: 14.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.2304, allocations: 0.5808 MB / 0.9852 GB, free: 13.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/0.2305, allocations: 0 / 0.9852 GB, free: 13.79 MB / 0.948 GB Notification: Performance of Templates: time 0.04036/0.2708, allocations: 34.83 MB / 1.019 GB, free: 11.59 MB / 0.9792 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.250314100179821]