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.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009162, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005892/0.005892, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.814/2.814, allocations: 462.7 MB / 0.7364 GB, free: 364 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 16.14 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 159.6 MB / 1.059 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007307/0.3469, allocations: 5.6 MB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.519, allocations: 147.3 MB / 1.208 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.5202, allocations: 11.94 kB / 1.208 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005619/0.5208, allocations: 178.6 kB / 1.208 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.5226, allocations: 0.5668 MB / 1.209 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.5249, allocations: 0.8816 MB / 1.21 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.5271, allocations: 1.858 MB / 1.211 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.5281, allocations: 0.7711 MB / 1.212 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007878/0.5289, allocations: 0.5133 MB / 1.213 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008424/0.5298, allocations: 0.6025 MB / 1.213 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.5299, allocations: 44 kB / 1.213 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.5312, allocations: 0.5112 MB / 1.214 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.5315, allocations: 278.8 kB / 1.214 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000578/0.5321, allocations: 0.6463 MB / 1.215 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.5344, allocations: 2.095 MB / 1.217 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5344, allocations: 0 / 1.217 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5344, allocations: 0 / 1.217 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.771e-05/0.5344, allocations: 0 / 1.217 GB, free: 3.074 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00332/0.5378, allocations: 1.556 MB / 1.218 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5378, allocations: 8.031 kB / 1.218 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1184/0.6563, allocations: 20.91 MB / 1.239 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.6588, allocations: 1.207 MB / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-05/0.6589, allocations: 94.47 kB / 1.24 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004649/0.6594, allocations: 120 kB / 1.24 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04021/0.6996, allocations: 9.349 MB / 1.249 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.6997, allocations: 3.938 kB / 1.249 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003426/0.7, allocations: 52 kB / 1.249 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.7001, allocations: 32 kB / 1.249 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6202/1.32, allocations: 16.93 MB / 1.266 GB, free: 189.6 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.04395/1.364, allocations: 11.61 MB / 1.277 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04451/1.409, allocations: 9.611 MB / 1.286 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03362/1.442, allocations: 7.876 MB / 1.294 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/1.443, allocations: 0.6048 MB / 1.295 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03413/1.477, allocations: 8.429 MB / 1.303 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=113): time 3.366e-06/1.477, allocations: 0 / 1.303 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=113): time 0.09943/1.577, allocations: 23.11 MB / 1.326 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/1.577, allocations: 204.9 kB / 1.326 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008958/1.578, allocations: 0.7627 MB / 1.327 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005109/1.578, allocations: 49.69 kB / 1.327 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/1.578, allocations: 0.4906 MB / 1.327 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004499/1.579, allocations: 369.1 kB / 1.327 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/1.579, allocations: 96.86 kB / 1.327 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/1.579, allocations: 353.9 kB / 1.328 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03317/1.612, allocations: 7.997 MB / 1.336 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03332/1.646, allocations: 8.125 MB / 1.344 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06203/1.708, allocations: 14.06 MB / 1.357 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/1.708, allocations: 11.94 kB / 1.357 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06361/1.772, allocations: 15.51 MB / 1.372 GB, free: 98.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.772, allocations: 4 kB / 1.372 GB, free: 98.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.772, allocations: 4 kB / 1.372 GB, free: 98.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/1.772, allocations: 86.33 kB / 1.373 GB, free: 98.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01827/1.79, allocations: 3.534 MB / 1.376 GB, free: 94.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/1.792, allocations: 1.538 MB / 1.378 GB, free: 92.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01892/1.811, allocations: 3.341 MB / 1.381 GB, free: 89.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006495/1.812, allocations: 107.8 kB / 1.381 GB, free: 89.54 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.solAzi.outsidePolarCircle,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,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 (140): * Single equations (assignments): 139 * 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.001092/1.813, allocations: 322.8 kB / 1.381 GB, free: 89.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/1.813, allocations: 106.7 kB / 1.381 GB, free: 89.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06746/1.881, allocations: 15.97 MB / 1.397 GB, free: 73.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.881, allocations: 12 kB / 1.397 GB, free: 73.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.881, allocations: 0 / 1.397 GB, free: 73.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.881, allocations: 11.97 kB / 1.397 GB, free: 73.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/1.883, allocations: 1.858 MB / 1.399 GB, free: 71.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.883, allocations: 0 / 1.399 GB, free: 71.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01825/1.901, allocations: 3.53 MB / 1.402 GB, free: 67.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005348/1.902, allocations: 88.77 kB / 1.402 GB, free: 67.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004774/1.903, allocations: 87.81 kB / 1.402 GB, free: 67.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/1.904, allocations: 1.546 MB / 1.404 GB, free: 65.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.904, allocations: 0 / 1.404 GB, free: 65.83 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06513/1.969, allocations: 15.34 MB / 1.419 GB, free: 50.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.971, allocations: 0.6862 MB / 1.419 GB, free: 49.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/1.971, allocations: 27.94 kB / 1.42 GB, free: 49.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01775/1.989, allocations: 3.285 MB / 1.423 GB, free: 46.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.989, allocations: 101.2 kB / 1.423 GB, free: 46.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003887/1.989, allocations: 107.8 kB / 1.423 GB, free: 46.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006498/1.99, allocations: 0.542 MB / 1.423 GB, free: 45.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.99, allocations: 0 / 1.423 GB, free: 45.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001903/1.992, allocations: 0.7236 MB / 1.424 GB, free: 44.99 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * 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.001585/1.994, allocations: 0.6571 MB / 1.425 GB, free: 44.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06747/2.061, allocations: 16.26 MB / 1.441 GB, free: 28.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/2.061, allocations: 0 / 1.441 GB, free: 28.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03394/2.095, allocations: 8.186 MB / 1.449 GB, free: 20.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/2.097, allocations: 310.7 kB / 1.449 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03691/2.134, allocations: 10.25 MB / 1.459 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/2.135, allocations: 1.158 MB / 1.46 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004087/2.139, allocations: 0.7272 MB / 1.461 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/2.14, allocations: 251 kB / 1.461 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of SimCode: time 1.754e-06/2.14, allocations: 0 / 1.461 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of Templates: time 0.05942/2.2, allocations: 36.72 MB / 1.497 GB, free: 2.738 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches