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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001504/0.001504, allocations: 108 kB / 15.61 MB, free: 152 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.001774/0.001774, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 60.05 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2923, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007763/0.3001, allocations: 6.051 MB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1607/0.4609, allocations: 151.9 MB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001864/0.4628, allocations: 19.94 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.4638, allocations: 229.8 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.4662, allocations: 0.6595 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.4689, allocations: 1.008 MB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002487/0.4714, allocations: 1.932 MB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.4727, allocations: 0.8239 MB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.4738, allocations: 0.7009 MB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009724/0.4748, allocations: 0.7782 MB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.4751, allocations: 176 kB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.4764, allocations: 0.6401 MB / 1.229 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003944/0.4768, allocations: 442.6 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007089/0.4775, allocations: 0.8008 MB / 1.23 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.4801, allocations: 2.236 MB / 1.233 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4801, allocations: 0 / 1.233 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4802, allocations: 0 / 1.233 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.4802, allocations: 0 / 1.233 GB, free: 1.367 MB / 0.9825 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.003397/0.4836, allocations: 1.852 MB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4836, allocations: 8.031 kB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1109/0.5945, allocations: 15.37 MB / 1.249 GB, free: 60 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5183/1.113, allocations: 1.202 MB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.113, allocations: 98.34 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004721/1.113, allocations: 122 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03799/1.151, allocations: 7.673 MB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/1.152, allocations: 0.7031 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003414/1.152, allocations: 55.52 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/1.152, allocations: 29.22 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06836/1.22, allocations: 13.58 MB / 1.272 GB, free: 179.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.04055/1.261, allocations: 9.87 MB / 1.281 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03895/1.3, allocations: 7.897 MB / 1.289 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03045/1.33, allocations: 6.197 MB / 1.295 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004359/1.331, allocations: 0.5969 MB / 1.296 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03134/1.362, allocations: 6.761 MB / 1.302 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=113): time 6.051e-06/1.362, allocations: 1.031 kB / 1.302 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=113): time 0.09182/1.454, allocations: 18.18 MB / 1.32 GB, free: 142 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/1.454, allocations: 196.9 kB / 1.32 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008713/1.455, allocations: 0.7666 MB / 1.321 GB, free: 141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004422/1.455, allocations: 53.69 kB / 1.321 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/1.456, allocations: 492.4 kB / 1.321 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/1.456, allocations: 370 kB / 1.322 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009268/1.457, allocations: 374.4 kB / 1.322 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/1.457, allocations: 349.9 kB / 1.323 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03151/1.489, allocations: 6.319 MB / 1.329 GB, free: 133 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03073/1.519, allocations: 6.449 MB / 1.335 GB, free: 126.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05615/1.576, allocations: 10.92 MB / 1.346 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.576, allocations: 0 / 1.346 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06086/1.637, allocations: 12.27 MB / 1.358 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/1.637, allocations: 4 kB / 1.358 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.637, allocations: 8.141 kB / 1.358 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/1.637, allocations: 84.83 kB / 1.358 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01756/1.655, allocations: 2.667 MB / 1.36 GB, free: 100.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/1.657, allocations: 1.634 MB / 1.362 GB, free: 98.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01721/1.674, allocations: 2.465 MB / 1.364 GB, free: 96.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004971/1.674, allocations: 111.8 kB / 1.364 GB, free: 96.19 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.001067/1.676, allocations: 314.5 kB / 1.365 GB, free: 95.88 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/1.676, allocations: 110.6 kB / 1.365 GB, free: 95.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06329/1.739, allocations: 12.72 MB / 1.377 GB, free: 83.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/1.739, allocations: 12 kB / 1.377 GB, free: 83.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.739, allocations: 2.188 kB / 1.377 GB, free: 83.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/1.739, allocations: 3.984 kB / 1.377 GB, free: 83.01 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/1.742, allocations: 1.871 MB / 1.379 GB, free: 81.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/1.742, allocations: 0 / 1.379 GB, free: 81.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01802/1.76, allocations: 2.653 MB / 1.382 GB, free: 78.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/1.76, allocations: 76.73 kB / 1.382 GB, free: 78.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005512/1.761, allocations: 95.8 kB / 1.382 GB, free: 78.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/1.763, allocations: 1.658 MB / 1.383 GB, free: 76.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.763, allocations: 0 / 1.383 GB, free: 76.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06246/1.825, allocations: 12.1 MB / 1.395 GB, free: 64.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.827, allocations: 0.6629 MB / 1.396 GB, free: 63.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000526/1.827, allocations: 31.98 kB / 1.396 GB, free: 63.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01735/1.845, allocations: 2.4 MB / 1.398 GB, free: 61.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/1.845, allocations: 93.19 kB / 1.398 GB, free: 61.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004437/1.845, allocations: 107.8 kB / 1.399 GB, free: 61.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007008/1.846, allocations: 0.5381 MB / 1.399 GB, free: 60.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.846, allocations: 0 / 1.399 GB, free: 60.51 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001977/1.848, allocations: 0.7319 MB / 1.4 GB, free: 59.8 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.001654/1.85, allocations: 0.6527 MB / 1.4 GB, free: 59.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06615/1.916, allocations: 13.28 MB / 1.413 GB, free: 46.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.916, allocations: 0 / 1.413 GB, free: 46.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03167/1.948, allocations: 6.513 MB / 1.42 GB, free: 39.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/1.95, allocations: 338 kB / 1.42 GB, free: 39.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0345/1.984, allocations: 7.988 MB / 1.428 GB, free: 31.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/1.985, allocations: 1.157 MB / 1.429 GB, free: 30.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003736/1.988, allocations: 0.7314 MB / 1.43 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/1.99, allocations: 259 kB / 1.43 GB, free: 29.07 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.99, allocations: 0 / 1.43 GB, free: 29.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.05021/2.04, allocations: 38.73 MB / 1.468 GB, free: 6.477 MB / 1.014 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