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.005732/0.005732, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001372/0.001373, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.614/2.614, allocations: 472.6 MB / 0.7453 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/0.7504, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007433/0.7579, allocations: 6.049 MB / 1.232 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1665/0.9244, allocations: 151.9 MB / 1.38 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.9254, allocations: 15.94 kB / 1.38 GB, free: 14.86 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008069/0.9263, allocations: 233.7 kB / 1.38 GB, free: 14.63 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.9282, allocations: 0.6595 MB / 1.381 GB, free: 13.97 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.9305, allocations: 1.004 MB / 1.382 GB, free: 12.98 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.9327, allocations: 1.959 MB / 1.384 GB, free: 11.01 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.934, allocations: 0.8117 MB / 1.384 GB, free: 10.17 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.9352, allocations: 0.7125 MB / 1.385 GB, free: 9.453 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009397/0.9361, allocations: 0.7666 MB / 1.386 GB, free: 8.684 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.9364, allocations: 172 kB / 1.386 GB, free: 8.516 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.9375, allocations: 0.6752 MB / 1.387 GB, free: 7.84 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.9379, allocations: 434.7 kB / 1.387 GB, free: 7.414 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007454/0.9387, allocations: 0.8008 MB / 1.388 GB, free: 6.609 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.9413, allocations: 2.297 MB / 1.39 GB, free: 4.305 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.9413, allocations: 4 kB / 1.39 GB, free: 4.301 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9413, allocations: 3.938 kB / 1.39 GB, free: 4.297 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.9413, allocations: 4 kB / 1.39 GB, free: 4.293 MB / 1.107 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.003459/0.9448, allocations: 1.881 MB / 1.392 GB, free: 2.352 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.9448, allocations: 8.031 kB / 1.392 GB, free: 2.344 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1095/1.054, allocations: 15.38 MB / 1.407 GB, free: 2.941 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/1.057, allocations: 1.235 MB / 1.408 GB, free: 1.664 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/1.057, allocations: 98.47 kB / 1.408 GB, free: 1.566 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004003/1.057, allocations: 120 kB / 1.408 GB, free: 1.449 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03628/1.094, allocations: 7.673 MB / 1.416 GB, free: 9.703 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/1.094, allocations: 7.938 kB / 1.416 GB, free: 9.695 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/1.094, allocations: 55.98 kB / 1.416 GB, free: 9.641 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/1.094, allocations: 32 kB / 1.416 GB, free: 9.609 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06782/1.162, allocations: 13.58 MB / 1.429 GB, free: 12.01 MB / 1.154 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.04159/1.204, allocations: 9.827 MB / 1.439 GB, free: 2.02 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04066/1.244, allocations: 7.915 MB / 1.447 GB, free: 10.09 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03369/1.278, allocations: 6.192 MB / 1.453 GB, free: 3.883 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/1.279, allocations: 0.6062 MB / 1.453 GB, free: 3.148 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03435/1.313, allocations: 6.749 MB / 1.46 GB, free: 12.38 MB / 1.186 GB Notification: Performance of pre-optimization done (n=113): time 3.226e-06/1.313, allocations: 0 / 1.46 GB, free: 12.38 MB / 1.186 GB Notification: Performance of matching and sorting (n=113): time 0.09885/1.412, allocations: 18.2 MB / 1.478 GB, free: 10.12 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.412, allocations: 192.9 kB / 1.478 GB, free: 9.887 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.413, allocations: 0.7667 MB / 1.479 GB, free: 9.109 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004172/1.413, allocations: 49.7 kB / 1.479 GB, free: 9.055 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/1.414, allocations: 0.4936 MB / 1.479 GB, free: 8.555 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005016/1.414, allocations: 384.7 kB / 1.479 GB, free: 8.176 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/1.415, allocations: 374.5 kB / 1.48 GB, free: 7.801 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.416, allocations: 357.9 kB / 1.48 GB, free: 7.445 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03245/1.448, allocations: 6.318 MB / 1.486 GB, free: 1.121 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03257/1.481, allocations: 6.453 MB / 1.493 GB, free: 10.64 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05979/1.54, allocations: 10.92 MB / 1.503 GB, free: 15.69 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.54, allocations: 0 / 1.503 GB, free: 15.69 MB / 1.232 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06466/1.605, allocations: 12.27 MB / 1.515 GB, free: 3.398 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/1.605, allocations: 12 kB / 1.515 GB, free: 3.387 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.605, allocations: 0 / 1.515 GB, free: 3.387 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/1.606, allocations: 84.72 kB / 1.515 GB, free: 3.301 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01768/1.623, allocations: 2.671 MB / 1.518 GB, free: 0.625 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/1.626, allocations: 1.631 MB / 1.52 GB, free: 14.84 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0176/1.643, allocations: 2.463 MB / 1.522 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006861/1.644, allocations: 107.8 kB / 1.522 GB, free: 12.27 MB / 1.248 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.001174/1.645, allocations: 332 kB / 1.522 GB, free: 11.94 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000528/1.646, allocations: 107.3 kB / 1.523 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0667/1.712, allocations: 12.72 MB / 1.535 GB, free: 15.08 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/1.713, allocations: 15.98 kB / 1.535 GB, free: 15.07 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.713, allocations: 4 kB / 1.535 GB, free: 15.06 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/1.713, allocations: 3.984 kB / 1.535 GB, free: 15.06 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/1.715, allocations: 1.85 MB / 1.537 GB, free: 13.16 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/1.715, allocations: 7.984 kB / 1.537 GB, free: 13.16 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01789/1.733, allocations: 2.652 MB / 1.539 GB, free: 10.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004822/1.734, allocations: 76.72 kB / 1.539 GB, free: 10.42 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005153/1.734, allocations: 99.81 kB / 1.54 GB, free: 10.32 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/1.736, allocations: 1.654 MB / 1.541 GB, free: 8.52 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.736, allocations: 3.938 kB / 1.541 GB, free: 8.516 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06618/1.802, allocations: 12.09 MB / 1.553 GB, free: 12.38 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.804, allocations: 0.6714 MB / 1.554 GB, free: 11.69 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/1.804, allocations: 31.94 kB / 1.554 GB, free: 11.66 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01745/1.822, allocations: 2.406 MB / 1.556 GB, free: 9.246 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/1.822, allocations: 97.11 kB / 1.556 GB, free: 9.152 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000502/1.823, allocations: 111.8 kB / 1.556 GB, free: 9.043 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008287/1.823, allocations: 0.5381 MB / 1.557 GB, free: 8.508 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.6e-07/1.823, allocations: 0 / 1.557 GB, free: 8.508 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002052/1.826, allocations: 0.7371 MB / 1.557 GB, free: 7.77 MB / 1.279 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.001701/1.827, allocations: 0.6554 MB / 1.558 GB, free: 7.289 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.6524/2.48, allocations: 12.9 MB / 1.571 GB, free: 337.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/2.48, allocations: 5.219 kB / 1.571 GB, free: 337.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.03304/2.513, allocations: 6.508 MB / 1.577 GB, free: 336.7 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/2.515, allocations: 329.3 kB / 1.577 GB, free: 336.7 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/2.549, allocations: 7.997 MB / 1.585 GB, free: 333.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/2.549, allocations: 1.152 MB / 1.586 GB, free: 332.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00329/2.553, allocations: 0.7338 MB / 1.587 GB, free: 332.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/2.554, allocations: 249.5 kB / 1.587 GB, free: 332.3 MB / 1.279 GB Notification: Performance of SimCode: time 6.21e-07/2.554, allocations: 0 / 1.587 GB, free: 332.3 MB / 1.279 GB Notification: Performance of Templates: time 0.04127/2.596, allocations: 38.95 MB / 1.625 GB, free: 294.8 MB / 1.279 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