Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 198.7 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 461.9 MB / 0.7348 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 66.92 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.00899/0.3228, allocations: 6.545 MB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.4802, allocations: 149.7 MB / 1.205 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.4819, allocations: 23.88 kB / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.483, allocations: 178.5 kB / 1.206 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.4858, allocations: 0.6048 MB / 1.206 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.4885, allocations: 0.9202 MB / 1.207 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002591/0.4911, allocations: 2.024 MB / 1.209 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.4928, allocations: 0.9098 MB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.4942, allocations: 0.6616 MB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.4956, allocations: 0.8013 MB / 1.211 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004603/0.4961, allocations: 100 kB / 1.211 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.4977, allocations: 0.5776 MB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005651/0.4983, allocations: 382.6 kB / 1.212 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.4994, allocations: 0.7966 MB / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.5016, allocations: 1.957 MB / 1.215 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5016, allocations: 4 kB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5016, allocations: 0 / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.995e-05/0.5017, allocations: 0 / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.00373/0.5054, allocations: 1.971 MB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5055, allocations: 8.031 kB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1087/0.6142, allocations: 15.38 MB / 1.232 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.6167, allocations: 1.387 MB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.6168, allocations: 102.8 kB / 1.233 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.6173, allocations: 132 kB / 1.234 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03543/0.6527, allocations: 8.045 MB / 1.241 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.6528, allocations: 3.938 kB / 1.241 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003407/0.6531, allocations: 59.98 kB / 1.241 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.6532, allocations: 39.94 kB / 1.242 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6859/1.339, allocations: 14.13 MB / 1.255 GB, free: 191.8 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0436/1.383, allocations: 11.52 MB / 1.267 GB, free: 190 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03774/1.42, allocations: 8.281 MB / 1.275 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03019/1.451, allocations: 6.495 MB / 1.281 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/1.451, allocations: 0.6026 MB / 1.282 GB, free: 184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0315/1.483, allocations: 7.056 MB / 1.288 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 4.278e-06/1.483, allocations: 1.375 kB / 1.288 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.08736/1.57, allocations: 18.96 MB / 1.307 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.57, allocations: 192.9 kB / 1.307 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/1.572, allocations: 0.8138 MB / 1.308 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008196/1.572, allocations: 49.7 kB / 1.308 GB, free: 163 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/1.573, allocations: 0.5393 MB / 1.309 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007618/1.574, allocations: 373.4 kB / 1.309 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/1.575, allocations: 378.4 kB / 1.309 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.682e-05/1.575, allocations: 345.9 kB / 1.31 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02836/1.603, allocations: 6.568 MB / 1.316 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02889/1.632, allocations: 6.71 MB / 1.323 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05274/1.685, allocations: 11.23 MB / 1.334 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/1.685, allocations: 0 / 1.334 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.05728/1.742, allocations: 12.68 MB / 1.346 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.742, allocations: 4 kB / 1.346 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.742, allocations: 0 / 1.346 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/1.743, allocations: 88.83 kB / 1.346 GB, free: 124 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01669/1.76, allocations: 2.683 MB / 1.349 GB, free: 121.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/1.762, allocations: 1.542 MB / 1.35 GB, free: 119.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01672/1.778, allocations: 2.468 MB / 1.353 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005474/1.779, allocations: 107.8 kB / 1.353 GB, free: 117.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,ove.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.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 (142): * Single equations (assignments): 141 * 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.00134/1.78, allocations: 350.6 kB / 1.353 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005326/1.781, allocations: 106.7 kB / 1.353 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05912/1.84, allocations: 13.2 MB / 1.366 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/1.84, allocations: 19.77 kB / 1.366 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.84, allocations: 0 / 1.366 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.84, allocations: 3.984 kB / 1.366 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/1.842, allocations: 2.467 MB / 1.368 GB, free: 100.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.842, allocations: 4 kB / 1.368 GB, free: 100.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01649/1.859, allocations: 2.652 MB / 1.371 GB, free: 98.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/1.859, allocations: 80.78 kB / 1.371 GB, free: 98.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000471/1.86, allocations: 99.8 kB / 1.371 GB, free: 98.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/1.861, allocations: 1.568 MB / 1.373 GB, free: 96.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.861, allocations: 0 / 1.373 GB, free: 96.38 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05915/1.921, allocations: 12.55 MB / 1.385 GB, free: 83.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.922, allocations: 0.8014 MB / 1.386 GB, free: 82.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005113/1.923, allocations: 31.94 kB / 1.386 GB, free: 82.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.016/1.939, allocations: 2.414 MB / 1.388 GB, free: 80.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/1.939, allocations: 101.2 kB / 1.388 GB, free: 80.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004676/1.94, allocations: 107.8 kB / 1.388 GB, free: 80.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000685/1.94, allocations: 0.5732 MB / 1.389 GB, free: 79.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.94, allocations: 0 / 1.389 GB, free: 79.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002071/1.943, allocations: 0.7422 MB / 1.39 GB, free: 79.02 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001589/1.944, allocations: 0.6599 MB / 1.39 GB, free: 78.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06072/2.005, allocations: 13.46 MB / 1.403 GB, free: 65.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/2.005, allocations: 4 kB / 1.403 GB, free: 65.13 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03011/2.035, allocations: 6.809 MB / 1.41 GB, free: 58.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/2.037, allocations: 324 kB / 1.41 GB, free: 58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/2.07, allocations: 9.102 MB / 1.419 GB, free: 48.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/2.071, allocations: 1.187 MB / 1.42 GB, free: 47.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002821/2.074, allocations: 330.9 kB / 1.421 GB, free: 47.32 MB / 0.9981 GB Notification: Performance of SimCode: time 1.743e-06/2.074, allocations: 0 / 1.421 GB, free: 47.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.04983/2.124, allocations: 49.69 MB / 1.469 GB, free: 13.53 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches