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.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.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.0009514/0.0009508, allocations: 92.08 kB / 16.02 MB, free: 80 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.001168/0.001169, allocations: 177.6 kB / 16.92 MB, free: 6.652 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003706, allocations: 16.38 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3191, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.006479/0.3256, allocations: 5.596 MB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.4885, allocations: 147.3 MB / 1.209 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.4898, allocations: 15.94 kB / 1.209 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008732/0.4907, allocations: 170.6 kB / 1.209 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.4931, allocations: 0.5816 MB / 1.209 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.4956, allocations: 0.8671 MB / 1.21 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002463/0.4981, allocations: 1.865 MB / 1.212 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.4994, allocations: 0.7627 MB / 1.213 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.5006, allocations: 0.5133 MB / 1.213 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.5017, allocations: 0.5986 MB / 1.214 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.502, allocations: 44 kB / 1.214 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.5035, allocations: 0.5151 MB / 1.214 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004795/0.504, allocations: 274.8 kB / 1.215 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.5051, allocations: 0.6502 MB / 1.215 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.5074, allocations: 1.64 MB / 1.217 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/0.5074, allocations: 0 / 1.217 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5074, allocations: 4 kB / 1.217 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.055e-05/0.5075, allocations: 0 / 1.217 GB, free: 2.957 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.003965/0.5115, allocations: 1.545 MB / 1.218 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5115, allocations: 12.03 kB / 1.218 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1204/0.6319, allocations: 20.91 MB / 1.239 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003355/0.6353, allocations: 1.215 MB / 1.24 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.6355, allocations: 90.47 kB / 1.24 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007955/0.6363, allocations: 124 kB / 1.24 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04172/0.6781, allocations: 9.357 MB / 1.249 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.6782, allocations: 0 / 1.249 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005882/0.6788, allocations: 51.98 kB / 1.249 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/0.6788, allocations: 32 kB / 1.249 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6823/1.361, allocations: 16.93 MB / 1.266 GB, free: 188.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.04636/1.408, allocations: 11.61 MB / 1.277 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04281/1.45, allocations: 9.613 MB / 1.287 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03322/1.484, allocations: 7.875 MB / 1.294 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/1.484, allocations: 0.6063 MB / 1.295 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03464/1.519, allocations: 8.429 MB / 1.303 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=113): time 4.338e-06/1.519, allocations: 0 / 1.303 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=113): time 0.1017/1.621, allocations: 23.11 MB / 1.326 GB, free: 146 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/1.621, allocations: 200.9 kB / 1.326 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/1.622, allocations: 0.7666 MB / 1.327 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006432/1.622, allocations: 45.7 kB / 1.327 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/1.623, allocations: 0.4908 MB / 1.327 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006855/1.623, allocations: 369.6 kB / 1.328 GB, free: 144 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/1.624, allocations: 97.66 kB / 1.328 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.33e-05/1.624, allocations: 349.9 kB / 1.328 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03344/1.657, allocations: 7.998 MB / 1.336 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03288/1.69, allocations: 8.121 MB / 1.344 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06381/1.754, allocations: 14.06 MB / 1.358 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/1.754, allocations: 3.938 kB / 1.358 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06796/1.822, allocations: 15.52 MB / 1.373 GB, free: 97.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.822, allocations: 4 kB / 1.373 GB, free: 97.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.822, allocations: 0 / 1.373 GB, free: 97.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/1.823, allocations: 90.11 kB / 1.373 GB, free: 97.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01965/1.842, allocations: 3.542 MB / 1.376 GB, free: 94.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/1.844, allocations: 1.538 MB / 1.378 GB, free: 92.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01917/1.864, allocations: 3.336 MB / 1.381 GB, free: 89.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006861/1.864, allocations: 107.8 kB / 1.381 GB, free: 89.04 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.001452/1.866, allocations: 321 kB / 1.381 GB, free: 88.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/1.866, allocations: 102.9 kB / 1.381 GB, free: 88.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07/1.936, allocations: 15.97 MB / 1.397 GB, free: 72.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.936, allocations: 12 kB / 1.397 GB, free: 72.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.936, allocations: 0 / 1.397 GB, free: 72.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/1.936, allocations: 15.95 kB / 1.397 GB, free: 72.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/1.938, allocations: 1.858 MB / 1.399 GB, free: 70.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.938, allocations: 4 kB / 1.399 GB, free: 70.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01914/1.958, allocations: 3.519 MB / 1.402 GB, free: 67.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005853/1.958, allocations: 88.7 kB / 1.402 GB, free: 67.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005541/1.959, allocations: 95.81 kB / 1.403 GB, free: 67.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/1.96, allocations: 1.54 MB / 1.404 GB, free: 65.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.96, allocations: 4.031 kB / 1.404 GB, free: 65.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06739/2.028, allocations: 15.33 MB / 1.419 GB, free: 49.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/2.029, allocations: 0.6862 MB / 1.42 GB, free: 49.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/2.029, allocations: 31.94 kB / 1.42 GB, free: 49.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01889/2.048, allocations: 3.285 MB / 1.423 GB, free: 45.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/2.049, allocations: 97.17 kB / 1.423 GB, free: 45.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003824/2.049, allocations: 103.8 kB / 1.423 GB, free: 45.74 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006142/2.05, allocations: 0.542 MB / 1.424 GB, free: 45.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/2.05, allocations: 0 / 1.424 GB, free: 45.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001832/2.051, allocations: 0.7265 MB / 1.424 GB, free: 44.5 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.001692/2.053, allocations: 0.6564 MB / 1.425 GB, free: 44.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.07022/2.123, allocations: 16.26 MB / 1.441 GB, free: 27.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/2.123, allocations: 0 / 1.441 GB, free: 27.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03534/2.159, allocations: 8.193 MB / 1.449 GB, free: 19.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/2.161, allocations: 307.3 kB / 1.449 GB, free: 19.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03751/2.198, allocations: 10.29 MB / 1.459 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/2.199, allocations: 1.151 MB / 1.46 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002456/2.201, allocations: 318.9 kB / 1.461 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/2.201, allocations: 11.94 kB / 1.461 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of Templates: time 0.05308/2.254, allocations: 44.55 MB / 1.504 GB, free: 10.89 MB / 1.045 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/jenkins1/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