Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008706/0.008706, allocations: 100.2 kB / 15.73 MB, free: 5.996 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.001886/0.001886, allocations: 189.2 kB / 16.67 MB, free: 5.918 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.586/2.586, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.88 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9301/0.9316, allocations: 159.1 MB / 1.221 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008353/0.9399, allocations: 6.576 MB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1703/1.11, allocations: 152.5 MB / 1.376 GB, free: 2.605 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/1.112, allocations: 19.94 kB / 1.376 GB, free: 2.586 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000762/1.112, allocations: 245.5 kB / 1.376 GB, free: 2.344 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002091/1.115, allocations: 0.7213 MB / 1.377 GB, free: 1.621 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002379/1.117, allocations: 1.049 MB / 1.378 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00217/1.119, allocations: 2.149 MB / 1.38 GB, free: 14.42 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009633/1.12, allocations: 0.6331 MB / 1.381 GB, free: 13.76 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/1.121, allocations: 0.7983 MB / 1.381 GB, free: 12.96 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000966/1.122, allocations: 0.856 MB / 1.382 GB, free: 12.1 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000236/1.122, allocations: 208 kB / 1.382 GB, free: 11.89 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/1.124, allocations: 0.7065 MB / 1.383 GB, free: 11.19 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004065/1.124, allocations: 490.6 kB / 1.384 GB, free: 10.71 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007663/1.125, allocations: 0.8943 MB / 1.384 GB, free: 9.809 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002814/1.128, allocations: 2.639 MB / 1.387 GB, free: 7.16 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.128, allocations: 3.984 kB / 1.387 GB, free: 7.156 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.663e-06/1.128, allocations: 0 / 1.387 GB, free: 7.156 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.41e-05/1.128, allocations: 0 / 1.387 GB, free: 7.156 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003755/1.131, allocations: 2.015 MB / 1.389 GB, free: 5.082 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.131, allocations: 8.031 kB / 1.389 GB, free: 5.074 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1068/1.238, allocations: 15.4 MB / 1.404 GB, free: 5.652 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/1.242, allocations: 1.407 MB / 1.405 GB, free: 4.199 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.242, allocations: 102.8 kB / 1.405 GB, free: 4.098 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005387/1.243, allocations: 140 kB / 1.406 GB, free: 3.961 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03631/1.279, allocations: 8.045 MB / 1.413 GB, free: 11.85 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/1.279, allocations: 0 / 1.413 GB, free: 11.85 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/1.279, allocations: 60 kB / 1.414 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/1.279, allocations: 32 kB / 1.414 GB, free: 11.76 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0671/1.346, allocations: 14.14 MB / 1.427 GB, free: 13.6 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.04356/1.39, allocations: 11.49 MB / 1.439 GB, free: 1.934 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03915/1.429, allocations: 8.203 MB / 1.447 GB, free: 9.715 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03239/1.462, allocations: 6.452 MB / 1.453 GB, free: 3.25 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/1.462, allocations: 0.6062 MB / 1.453 GB, free: 2.516 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03254/1.495, allocations: 7.059 MB / 1.46 GB, free: 11.43 MB / 1.186 GB Notification: Performance of pre-optimization done (n=115): time 3.206e-06/1.495, allocations: 0 / 1.46 GB, free: 11.43 MB / 1.186 GB Notification: Performance of matching and sorting (n=115): time 0.09744/1.592, allocations: 18.95 MB / 1.479 GB, free: 8.422 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.592, allocations: 192.9 kB / 1.479 GB, free: 8.191 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.594, allocations: 0.8178 MB / 1.48 GB, free: 7.359 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005187/1.594, allocations: 53.69 kB / 1.48 GB, free: 7.301 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/1.594, allocations: 0.5482 MB / 1.48 GB, free: 6.746 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/1.595, allocations: 396.7 kB / 1.481 GB, free: 6.355 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/1.596, allocations: 374.5 kB / 1.481 GB, free: 5.984 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.596, allocations: 357.8 kB / 1.482 GB, free: 5.629 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03198/1.628, allocations: 6.572 MB / 1.488 GB, free: 15.05 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03184/1.66, allocations: 6.695 MB / 1.494 GB, free: 8.324 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05827/1.718, allocations: 11.23 MB / 1.505 GB, free: 13.07 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/1.718, allocations: 0 / 1.505 GB, free: 13.07 MB / 1.232 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.06406/1.782, allocations: 12.68 MB / 1.518 GB, free: 376 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.782, allocations: 7.938 kB / 1.518 GB, free: 368 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.782, allocations: 4 kB / 1.518 GB, free: 364 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/1.783, allocations: 80.84 kB / 1.518 GB, free: 280 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01788/1.801, allocations: 2.691 MB / 1.521 GB, free: 13.58 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/1.803, allocations: 1.646 MB / 1.522 GB, free: 11.78 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01734/1.821, allocations: 2.46 MB / 1.525 GB, free: 9.316 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000857/1.822, allocations: 111.8 kB / 1.525 GB, free: 9.207 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.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.002108/1.824, allocations: 351.7 kB / 1.525 GB, free: 8.855 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009396/1.825, allocations: 115.2 kB / 1.525 GB, free: 8.742 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06578/1.89, allocations: 13.19 MB / 1.538 GB, free: 11.52 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/1.89, allocations: 16 kB / 1.538 GB, free: 11.51 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.89, allocations: 3.938 kB / 1.538 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-05/1.89, allocations: 3.984 kB / 1.538 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/1.894, allocations: 2.467 MB / 1.54 GB, free: 8.984 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/1.894, allocations: 4 kB / 1.54 GB, free: 8.98 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01791/1.912, allocations: 2.652 MB / 1.543 GB, free: 6.324 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/1.913, allocations: 72.8 kB / 1.543 GB, free: 6.25 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007148/1.913, allocations: 91.8 kB / 1.543 GB, free: 6.16 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/1.915, allocations: 1.682 MB / 1.545 GB, free: 4.324 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.915, allocations: 0 / 1.545 GB, free: 4.324 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06321/1.979, allocations: 12.57 MB / 1.557 GB, free: 7.715 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.981, allocations: 0.8002 MB / 1.558 GB, free: 6.895 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008698/1.982, allocations: 28 kB / 1.558 GB, free: 6.867 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01679/1.998, allocations: 2.406 MB / 1.56 GB, free: 4.457 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/1.999, allocations: 97.17 kB / 1.56 GB, free: 4.363 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006273/1.999, allocations: 111.7 kB / 1.56 GB, free: 4.254 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001017/2, allocations: 0.5732 MB / 1.561 GB, free: 3.688 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/2, allocations: 3.938 kB / 1.561 GB, free: 3.684 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002673/2.003, allocations: 0.7565 MB / 1.562 GB, free: 2.926 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,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.001914/2.005, allocations: 0.6705 MB / 1.562 GB, free: 2.426 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.7276/2.733, allocations: 13.39 MB / 1.575 GB, free: 341.2 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/2.733, allocations: 3.75 kB / 1.575 GB, free: 341.2 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.03275/2.765, allocations: 6.754 MB / 1.582 GB, free: 339.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/2.768, allocations: 355.1 kB / 1.582 GB, free: 339.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/2.802, allocations: 8.431 MB / 1.591 GB, free: 333.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/2.802, allocations: 1.187 MB / 1.592 GB, free: 332.3 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00385/2.806, allocations: 0.7437 MB / 1.593 GB, free: 331.6 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/2.808, allocations: 259 kB / 1.593 GB, free: 331.3 MB / 1.279 GB Notification: Performance of SimCode: time 2.465e-06/2.808, allocations: 0 / 1.593 GB, free: 331.3 MB / 1.279 GB Notification: Performance of Templates: time 0.05315/2.861, allocations: 42.32 MB / 1.634 GB, free: 289.1 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches