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.001469/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001642/0.001642, allocations: 197.2 kB / 16.14 MB, free: 6.719 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.72 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3141, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007503/0.3217, allocations: 6.043 MB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1817/0.5034, allocations: 149.6 MB / 1.204 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.5048, allocations: 19.88 kB / 1.204 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000928/0.5058, allocations: 170.7 kB / 1.204 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.5082, allocations: 0.5698 MB / 1.205 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.5111, allocations: 0.882 MB / 1.206 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002992/0.5141, allocations: 1.858 MB / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.5157, allocations: 0.7867 MB / 1.208 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.5169, allocations: 0.6227 MB / 1.209 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.5181, allocations: 0.7313 MB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.5185, allocations: 92 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.5201, allocations: 0.5659 MB / 1.21 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004989/0.5206, allocations: 358.7 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.5216, allocations: 0.7227 MB / 1.211 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.5243, allocations: 2.169 MB / 1.213 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5243, allocations: 0 / 1.213 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5243, allocations: 0 / 1.213 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.05e-05/0.5244, allocations: 0 / 1.213 GB, free: 3.031 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.003841/0.5282, allocations: 1.849 MB / 1.215 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5283, allocations: 12.03 kB / 1.215 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1097/0.638, allocations: 15.37 MB / 1.23 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.641, allocations: 1.207 MB / 1.231 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.784e-05/0.6411, allocations: 90.47 kB / 1.232 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004484/0.6415, allocations: 124 kB / 1.232 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03542/0.677, allocations: 7.673 MB / 1.239 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.677, allocations: 0 / 1.239 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/0.6773, allocations: 59.97 kB / 1.239 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.6774, allocations: 32 kB / 1.239 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6096/1.287, allocations: 13.57 MB / 1.252 GB, free: 192.9 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.04303/1.33, allocations: 9.853 MB / 1.262 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04142/1.372, allocations: 7.908 MB / 1.27 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03165/1.403, allocations: 6.188 MB / 1.276 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/1.404, allocations: 0.6085 MB / 1.276 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03259/1.436, allocations: 6.755 MB / 1.283 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=113): time 5.039e-06/1.436, allocations: 4 kB / 1.283 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=113): time 0.09157/1.528, allocations: 18.18 MB / 1.301 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/1.528, allocations: 192.9 kB / 1.301 GB, free: 171 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009493/1.529, allocations: 0.7627 MB / 1.302 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005595/1.53, allocations: 53.7 kB / 1.302 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/1.53, allocations: 499.6 kB / 1.302 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007857/1.531, allocations: 373.2 kB / 1.303 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/1.532, allocations: 374.5 kB / 1.303 GB, free: 169 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/1.532, allocations: 345.9 kB / 1.303 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02939/1.562, allocations: 6.314 MB / 1.309 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02884/1.59, allocations: 6.449 MB / 1.316 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05224/1.643, allocations: 10.92 MB / 1.326 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/1.643, allocations: 11.94 kB / 1.326 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.0579/1.701, allocations: 12.26 MB / 1.338 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.701, allocations: 8 kB / 1.338 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.701, allocations: 3.828 kB / 1.338 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/1.701, allocations: 84.83 kB / 1.338 GB, free: 132.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0169/1.718, allocations: 2.676 MB / 1.341 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/1.72, allocations: 1.533 MB / 1.343 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01669/1.737, allocations: 2.464 MB / 1.345 GB, free: 125.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/1.737, allocations: 107.8 kB / 1.345 GB, free: 125.6 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.00132/1.739, allocations: 316.8 kB / 1.345 GB, free: 125.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006111/1.739, allocations: 110.7 kB / 1.346 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05906/1.798, allocations: 12.72 MB / 1.358 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.798, allocations: 12 kB / 1.358 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.798, allocations: 1.172 kB / 1.358 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/1.798, allocations: 7.969 kB / 1.358 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/1.801, allocations: 1.858 MB / 1.36 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.801, allocations: 0 / 1.36 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01719/1.818, allocations: 2.659 MB / 1.362 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005331/1.818, allocations: 84.77 kB / 1.362 GB, free: 107.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000515/1.819, allocations: 91.81 kB / 1.363 GB, free: 107.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/1.82, allocations: 1.549 MB / 1.364 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.82, allocations: 0 / 1.364 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05837/1.879, allocations: 12.08 MB / 1.376 GB, free: 93.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.88, allocations: 0.6706 MB / 1.377 GB, free: 93.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006749/1.881, allocations: 31.88 kB / 1.377 GB, free: 93.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01636/1.897, allocations: 2.406 MB / 1.379 GB, free: 90.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003421/1.898, allocations: 97.17 kB / 1.379 GB, free: 90.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005489/1.898, allocations: 107.8 kB / 1.379 GB, free: 90.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007404/1.899, allocations: 0.542 MB / 1.38 GB, free: 90 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.899, allocations: 1.094 kB / 1.38 GB, free: 90 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002173/1.901, allocations: 0.717 MB / 1.38 GB, free: 89.31 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.001727/1.903, allocations: 0.6634 MB / 1.381 GB, free: 88.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06004/1.963, allocations: 12.9 MB / 1.394 GB, free: 75.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.963, allocations: 4 kB / 1.394 GB, free: 75.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03052/1.993, allocations: 6.501 MB / 1.4 GB, free: 69.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.996, allocations: 313.6 kB / 1.4 GB, free: 69.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/2.028, allocations: 8.55 MB / 1.409 GB, free: 60.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/2.029, allocations: 1.16 MB / 1.41 GB, free: 59.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004499/2.033, allocations: 0.7311 MB / 1.41 GB, free: 58.65 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/2.035, allocations: 251 kB / 1.411 GB, free: 58.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/2.035, allocations: 0 / 1.411 GB, free: 58.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04922/2.084, allocations: 36.92 MB / 1.447 GB, free: 21.61 MB / 0.9981 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