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.001296/0.001296, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00125/0.00125, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.526/2.526, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.61 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2985, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008801/0.3073, allocations: 6.59 MB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6402/0.9475, allocations: 152 MB / 1.173 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.949, allocations: 22.31 kB / 1.173 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000851/0.95, allocations: 242.6 kB / 1.173 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.9526, allocations: 0.7092 MB / 1.174 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.9554, allocations: 1.036 MB / 1.175 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003049/0.9584, allocations: 2.133 MB / 1.177 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.96, allocations: 0.9387 MB / 1.178 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.9616, allocations: 0.7846 MB / 1.179 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.963, allocations: 0.8555 MB / 1.179 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003691/0.9634, allocations: 211.9 kB / 1.18 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.965, allocations: 0.677 MB / 1.18 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/0.9656, allocations: 490.7 kB / 1.181 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.9668, allocations: 0.8942 MB / 1.182 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.9715, allocations: 2.572 MB / 1.184 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.9716, allocations: 1.438 kB / 1.184 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9716, allocations: 0 / 1.184 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.474e-05/0.9716, allocations: 0 / 1.184 GB, free: 7.23 MB / 0.8887 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.004998/0.9766, allocations: 1.963 MB / 1.186 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.9767, allocations: 11.08 kB / 1.186 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1164/1.093, allocations: 15.4 MB / 1.201 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/1.097, allocations: 1.379 MB / 1.202 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/1.097, allocations: 102.8 kB / 1.203 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005116/1.097, allocations: 139.6 kB / 1.203 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03998/1.137, allocations: 8.049 MB / 1.211 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/1.138, allocations: 4 kB / 1.211 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003628/1.138, allocations: 56 kB / 1.211 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/1.138, allocations: 32 kB / 1.211 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07412/1.212, allocations: 14.14 MB / 1.224 GB, free: 5.816 MB / 0.92 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.04733/1.259, allocations: 11.52 MB / 1.236 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04307/1.303, allocations: 8.287 MB / 1.244 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03569/1.338, allocations: 6.499 MB / 1.25 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006705/1.339, allocations: 0.6021 MB / 1.251 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03643/1.375, allocations: 7.065 MB / 1.258 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=115): time 3.667e-06/1.375, allocations: 0 / 1.258 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=115): time 0.1054/1.481, allocations: 18.95 MB / 1.276 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/1.481, allocations: 196.9 kB / 1.276 GB, free: 268 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/1.482, allocations: 0.8099 MB / 1.277 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004878/1.483, allocations: 49.7 kB / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/1.483, allocations: 0.5431 MB / 1.278 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006301/1.484, allocations: 378.6 kB / 1.278 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/1.485, allocations: 378.4 kB / 1.278 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.485, allocations: 353.9 kB / 1.279 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03587/1.521, allocations: 6.572 MB / 1.285 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03562/1.557, allocations: 6.699 MB / 1.292 GB, free: 432 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06478/1.622, allocations: 11.22 MB / 1.303 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.622, allocations: 0 / 1.303 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.06987/1.692, allocations: 12.67 MB / 1.315 GB, free: 8.473 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/1.692, allocations: 7.984 kB / 1.315 GB, free: 8.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.692, allocations: 0 / 1.315 GB, free: 8.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/1.692, allocations: 84.84 kB / 1.315 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01948/1.712, allocations: 2.683 MB / 1.318 GB, free: 5.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/1.714, allocations: 1.649 MB / 1.319 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01955/1.734, allocations: 2.467 MB / 1.322 GB, free: 1.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006282/1.735, allocations: 108.9 kB / 1.322 GB, free: 1.324 MB / 1.014 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.001261/1.736, allocations: 349.2 kB / 1.322 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005872/1.736, allocations: 118.6 kB / 1.322 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07315/1.81, allocations: 13.19 MB / 1.335 GB, free: 3.648 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/1.81, allocations: 23.94 kB / 1.335 GB, free: 3.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.81, allocations: 3.984 kB / 1.335 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/1.81, allocations: 7.922 kB / 1.335 GB, free: 3.613 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/1.813, allocations: 2.454 MB / 1.338 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.813, allocations: 4 kB / 1.338 GB, free: 1.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01947/1.833, allocations: 2.652 MB / 1.34 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/1.833, allocations: 76.78 kB / 1.34 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005907/1.834, allocations: 91.81 kB / 1.34 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/1.836, allocations: 1.678 MB / 1.342 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.836, allocations: 0 / 1.342 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.071/1.907, allocations: 12.56 MB / 1.354 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/1.909, allocations: 0.7995 MB / 1.355 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005849/1.91, allocations: 28 kB / 1.355 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0189/1.928, allocations: 2.403 MB / 1.357 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/1.929, allocations: 97.17 kB / 1.358 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004201/1.929, allocations: 111.8 kB / 1.358 GB, free: 12.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008885/1.93, allocations: 0.5732 MB / 1.358 GB, free: 11.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.93, allocations: 0 / 1.358 GB, free: 11.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002356/1.932, allocations: 0.7526 MB / 1.359 GB, free: 11.06 MB / 1.061 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.002323/1.935, allocations: 0.6532 MB / 1.36 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.07522/2.01, allocations: 13.84 MB / 1.373 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/2.01, allocations: 0 / 1.373 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.03713/2.047, allocations: 6.81 MB / 1.38 GB, free: 5.883 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/2.049, allocations: 356.6 kB / 1.38 GB, free: 5.555 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03958/2.089, allocations: 8.485 MB / 1.388 GB, free: 13.03 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008941/2.09, allocations: 1.186 MB / 1.39 GB, free: 11.81 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002633/2.093, allocations: 334.9 kB / 1.39 GB, free: 11.49 MB / 1.092 GB Notification: Performance of SimCode: time 1.553e-06/2.093, allocations: 0 / 1.39 GB, free: 11.49 MB / 1.092 GB Notification: Performance of Templates: time 0.06812/2.161, allocations: 49.69 MB / 1.438 GB, free: 9.707 MB / 1.139 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches