Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.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.001465/0.001465, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00135/0.00135, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9131/0.9131, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.35/2.35, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.675e-05, allocations: 14.19 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.005195/0.005212, allocations: 5.787 MB / 0.8442 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1284/0.1336, allocations: 146.6 MB / 0.9874 GB, free: 5.164 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007788/0.1344, allocations: 23.81 kB / 0.9875 GB, free: 5.141 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.135, allocations: 237.7 kB / 0.9877 GB, free: 4.906 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.1365, allocations: 0.7025 MB / 0.9884 GB, free: 4.199 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.138, allocations: 1.052 MB / 0.9894 GB, free: 3.145 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.1394, allocations: 2.044 MB / 0.9914 GB, free: 1.094 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006059/0.14, allocations: 0.5565 MB / 0.992 GB, free: 500 kB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009512/0.141, allocations: 1.131 MB / 0.9931 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.1415, allocations: 0.596 MB / 0.9936 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.1417, allocations: 168 kB / 0.9938 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008225/0.1425, allocations: 0.6749 MB / 0.9945 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.1428, allocations: 442.6 kB / 0.9949 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.1431, allocations: 0.5455 MB / 0.9954 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.1446, allocations: 1.767 MB / 0.9971 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1446, allocations: 0 / 0.9971 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1446, allocations: 0 / 0.9971 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.1446, allocations: 4 kB / 0.9971 GB, free: 11.16 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.001815/0.1465, allocations: 1.788 MB / 0.9989 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1465, allocations: 15.97 kB / 0.9989 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02007/0.1666, allocations: 6.553 MB / 1.005 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.1679, allocations: 0.8119 MB / 1.006 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.1679, allocations: 106.6 kB / 1.006 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.1682, allocations: 128 kB / 1.006 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006083/0.1743, allocations: 4.133 MB / 1.01 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1743, allocations: 0 / 1.01 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.1745, allocations: 52 kB / 1.01 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.1746, allocations: 32 kB / 1.01 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.1773, allocations: 2.973 MB / 1.013 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009712/0.187, allocations: 4.606 MB / 1.018 GB, free: 5.707 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007066/0.1941, allocations: 2.817 MB / 1.021 GB, free: 2.875 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.1953, allocations: 1.093 MB / 1.022 GB, free: 1.781 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.1955, allocations: 84.88 kB / 1.022 GB, free: 1.699 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.1972, allocations: 1.883 MB / 1.024 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=123): time 2.455e-06/0.1972, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=123): time 0.00403/0.2012, allocations: 2.904 MB / 1.026 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.2013, allocations: 204.9 kB / 1.027 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.2018, allocations: 0.5795 MB / 1.027 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.202, allocations: 57.7 kB / 1.027 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.2022, allocations: 438.8 kB / 1.028 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.2025, allocations: 416.4 kB / 1.028 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007224/0.2032, allocations: 346.3 kB / 1.028 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2033, allocations: 414.5 kB / 1.029 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.2046, allocations: 1.294 MB / 1.03 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.2059, allocations: 1.59 MB / 1.032 GB, free: 7.402 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.208, allocations: 1.724 MB / 1.033 GB, free: 5.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.208, allocations: 3.938 kB / 1.033 GB, free: 5.656 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002801/0.2108, allocations: 2.395 MB / 1.036 GB, free: 3.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2108, allocations: 4 kB / 1.036 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2108, allocations: 4 kB / 1.036 GB, free: 3.242 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/0.2112, allocations: 128.7 kB / 1.036 GB, free: 3.113 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/0.2149, allocations: 1.295 MB / 1.037 GB, free: 1.816 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009413/0.2159, allocations: 1.308 MB / 1.038 GB, free: 428 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/0.2194, allocations: 1.064 MB / 1.039 GB, free: 15.35 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.2196, allocations: 91.78 kB / 1.039 GB, free: 15.26 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 (ove.solAzi.outsidePolarCircle,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,incAng.decAng.k,$PRE.incAng.decAng.k,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005348/0.2201, allocations: 192.4 kB / 1.04 GB, free: 15.06 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.2205, allocations: 99.91 kB / 1.04 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/0.2241, allocations: 2.706 MB / 1.042 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.2241, allocations: 16 kB / 1.042 GB, free: 12.23 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2241, allocations: 4 kB / 1.042 GB, free: 12.23 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2241, allocations: 7.969 kB / 1.042 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004424/0.2286, allocations: 3.328 MB / 1.046 GB, free: 8.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2286, allocations: 0 / 1.046 GB, free: 8.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0039/0.2325, allocations: 1.267 MB / 1.047 GB, free: 7.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/0.2328, allocations: 104.8 kB / 1.047 GB, free: 7.465 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.2329, allocations: 83.8 kB / 1.047 GB, free: 7.383 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007958/0.2337, allocations: 1.328 MB / 1.048 GB, free: 5.961 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2337, allocations: 4.031 kB / 1.048 GB, free: 5.957 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.2364, allocations: 2.119 MB / 1.05 GB, free: 3.816 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/0.237, allocations: 326.7 kB / 1.051 GB, free: 3.496 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.2373, allocations: 43.92 kB / 1.051 GB, free: 3.453 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/0.2406, allocations: 0.9908 MB / 1.052 GB, free: 2.461 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2407, allocations: 93.12 kB / 1.052 GB, free: 2.371 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/0.2409, allocations: 91.78 kB / 1.052 GB, free: 2.281 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002115/0.2411, allocations: 283.4 kB / 1.052 GB, free: 2.004 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.2411, allocations: 0 / 1.052 GB, free: 2.004 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001533/0.2426, allocations: 0.7449 MB / 1.053 GB, free: 1.258 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,incAng.decAng.k,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: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,incAng.decAng.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,incAng.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001581/0.2442, allocations: 0.8066 MB / 1.054 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.3576/0.6018, allocations: 2.819 MB / 1.056 GB, free: 83.16 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/0.6018, allocations: 7.906 kB / 1.056 GB, free: 83.16 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.6037, allocations: 1.421 MB / 1.058 GB, free: 83.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.6049, allocations: 0.5355 MB / 1.058 GB, free: 83.04 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.6087, allocations: 2.802 MB / 1.061 GB, free: 82.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.6089, allocations: 250.1 kB / 1.061 GB, free: 82.05 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001882/0.6108, allocations: 0.5696 MB / 1.062 GB, free: 82.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/0.6127, allocations: 471.7 kB / 1.062 GB, free: 81.96 MB / 1.01 GB Notification: Performance of SimCode: time 1.402e-06/0.6127, allocations: 0 / 1.062 GB, free: 81.96 MB / 1.01 GB Notification: Performance of Templates: time 0.04659/0.6593, allocations: 45 MB / 1.106 GB, free: 73.11 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.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.923460945021361]