Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009107/0.009107, allocations: 99.56 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.001748/0.001747, allocations: 196.6 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.08 kB / 1.018 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8822/0.8834, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.00765/0.8911, allocations: 6.596 MB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1597/1.051, allocations: 152 MB / 1.321 GB, free: 4.578 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/1.052, allocations: 19.88 kB / 1.322 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/1.053, allocations: 245.6 kB / 1.322 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/1.055, allocations: 0.7105 MB / 1.322 GB, free: 3.605 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/1.058, allocations: 1.049 MB / 1.323 GB, free: 2.562 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00216/1.06, allocations: 2.138 MB / 1.326 GB, free: 428 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/1.061, allocations: 0.9477 MB / 1.326 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009463/1.062, allocations: 0.7827 MB / 1.327 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009283/1.063, allocations: 0.8599 MB / 1.328 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002648/1.063, allocations: 212 kB / 1.328 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/1.065, allocations: 0.6987 MB / 1.329 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004111/1.065, allocations: 490.6 kB / 1.329 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000785/1.066, allocations: 0.9059 MB / 1.33 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/1.069, allocations: 2.632 MB / 1.333 GB, free: 8.852 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.069, allocations: 0 / 1.333 GB, free: 8.852 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.412e-06/1.069, allocations: 0 / 1.333 GB, free: 8.852 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.884e-05/1.069, allocations: 0 / 1.333 GB, free: 8.852 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.00348/1.072, allocations: 2.011 MB / 1.335 GB, free: 6.781 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.072, allocations: 8.922 kB / 1.335 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.108/1.18, allocations: 15.4 MB / 1.35 GB, free: 7.352 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/1.183, allocations: 1.411 MB / 1.351 GB, free: 5.895 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/1.184, allocations: 102.8 kB / 1.351 GB, free: 5.793 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/1.184, allocations: 136 kB / 1.351 GB, free: 5.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/1.221, allocations: 8.041 MB / 1.359 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/1.221, allocations: 3.984 kB / 1.359 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/1.221, allocations: 60 kB / 1.359 GB, free: 13.49 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/1.221, allocations: 36 kB / 1.359 GB, free: 13.45 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0684/1.289, allocations: 14.14 MB / 1.373 GB, free: 15.29 MB / 1.107 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.04508/1.335, allocations: 11.49 MB / 1.384 GB, free: 3.629 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04148/1.376, allocations: 8.283 MB / 1.393 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03402/1.41, allocations: 6.503 MB / 1.399 GB, free: 4.824 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/1.411, allocations: 0.5983 MB / 1.399 GB, free: 4.094 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03618/1.447, allocations: 7.055 MB / 1.406 GB, free: 13.01 MB / 1.139 GB Notification: Performance of pre-optimization done (n=115): time 5.711e-06/1.447, allocations: 3.938 kB / 1.406 GB, free: 13.01 MB / 1.139 GB Notification: Performance of matching and sorting (n=115): time 0.1048/1.552, allocations: 18.95 MB / 1.425 GB, free: 10 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/1.552, allocations: 196.9 kB / 1.425 GB, free: 9.766 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.553, allocations: 0.8139 MB / 1.426 GB, free: 8.938 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006054/1.554, allocations: 49.7 kB / 1.426 GB, free: 8.883 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/1.555, allocations: 0.5521 MB / 1.426 GB, free: 8.324 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000587/1.555, allocations: 396.6 kB / 1.427 GB, free: 7.938 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/1.556, allocations: 374.5 kB / 1.427 GB, free: 7.566 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.556, allocations: 357.9 kB / 1.428 GB, free: 7.211 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03548/1.592, allocations: 6.568 MB / 1.434 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03516/1.627, allocations: 6.707 MB / 1.441 GB, free: 9.898 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06501/1.692, allocations: 11.22 MB / 1.451 GB, free: 14.65 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.692, allocations: 0 / 1.451 GB, free: 14.65 MB / 1.186 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.06907/1.761, allocations: 12.68 MB / 1.464 GB, free: 1.941 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/1.761, allocations: 8.062 kB / 1.464 GB, free: 1.934 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.761, allocations: 7.938 kB / 1.464 GB, free: 1.926 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/1.762, allocations: 84.77 kB / 1.464 GB, free: 1.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01872/1.781, allocations: 2.679 MB / 1.467 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/1.783, allocations: 1.658 MB / 1.468 GB, free: 13.35 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01839/1.801, allocations: 2.466 MB / 1.471 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006362/1.802, allocations: 103.8 kB / 1.471 GB, free: 10.78 MB / 1.201 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.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (142): * Single equations (assignments): 141 * 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.001223/1.803, allocations: 351.8 kB / 1.471 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/1.804, allocations: 119.2 kB / 1.471 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07129/1.875, allocations: 13.19 MB / 1.484 GB, free: 13.09 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.875, allocations: 12 kB / 1.484 GB, free: 13.08 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.875, allocations: 3.938 kB / 1.484 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/1.875, allocations: 7.969 kB / 1.484 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/1.879, allocations: 2.466 MB / 1.486 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.879, allocations: 0 / 1.486 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01889/1.898, allocations: 2.656 MB / 1.489 GB, free: 7.895 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005777/1.899, allocations: 72.78 kB / 1.489 GB, free: 7.82 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006963/1.9, allocations: 99.81 kB / 1.489 GB, free: 7.723 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/1.902, allocations: 1.678 MB / 1.491 GB, free: 5.898 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.902, allocations: 0 / 1.491 GB, free: 5.898 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.068/1.97, allocations: 12.57 MB / 1.503 GB, free: 9.293 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.972, allocations: 0.808 MB / 1.504 GB, free: 8.465 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005397/1.972, allocations: 35.89 kB / 1.504 GB, free: 8.43 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01839/1.99, allocations: 2.398 MB / 1.506 GB, free: 6.027 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/1.991, allocations: 101.1 kB / 1.506 GB, free: 5.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000517/1.991, allocations: 103.8 kB / 1.506 GB, free: 5.828 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008836/1.992, allocations: 0.5771 MB / 1.507 GB, free: 5.258 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.91e-07/1.992, allocations: 0 / 1.507 GB, free: 5.258 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002279/1.994, allocations: 0.7604 MB / 1.508 GB, free: 4.496 MB / 1.232 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * 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.001757/1.996, allocations: 0.6502 MB / 1.508 GB, free: 4.004 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.07077/2.067, allocations: 13.47 MB / 1.522 GB, free: 6.512 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/2.067, allocations: 0 / 1.522 GB, free: 6.512 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.03458/2.102, allocations: 6.814 MB / 1.528 GB, free: 15.68 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/2.104, allocations: 346.4 kB / 1.529 GB, free: 15.36 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/2.141, allocations: 8.448 MB / 1.537 GB, free: 6.863 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/2.142, allocations: 1.183 MB / 1.538 GB, free: 5.648 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.003723/2.146, allocations: 0.7354 MB / 1.539 GB, free: 4.91 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/2.147, allocations: 263 kB / 1.539 GB, free: 4.652 MB / 1.264 GB Notification: Performance of SimCode: time 6.31e-07/2.147, allocations: 0 / 1.539 GB, free: 4.652 MB / 1.264 GB Notification: Performance of Templates: time 0.7324/2.88, allocations: 42.21 MB / 1.58 GB, free: 376.5 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches