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.007325/0.007325, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001199/0.001199, allocations: 201.9 kB / 16.68 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7453 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2951, allocations: 159.9 MB / 1.226 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007383/0.3026, allocations: 6.067 MB / 1.232 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7732/1.076, allocations: 151.9 MB / 1.38 GB, free: 3.672 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/1.077, allocations: 21.66 kB / 1.38 GB, free: 3.664 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006951/1.078, allocations: 232.6 kB / 1.38 GB, free: 3.516 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/1.08, allocations: 0.6587 MB / 1.381 GB, free: 3.125 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/1.083, allocations: 1.009 MB / 1.382 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003207/1.086, allocations: 1.953 MB / 1.384 GB, free: 1.543 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/1.088, allocations: 0.8082 MB / 1.384 GB, free: 1.055 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/1.089, allocations: 0.7132 MB / 1.385 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/1.09, allocations: 0.7736 MB / 1.386 GB, free: 92 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/1.09, allocations: 176.4 kB / 1.386 GB, free: 88 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/1.092, allocations: 0.6747 MB / 1.387 GB, free: 15.82 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004336/1.093, allocations: 438.9 kB / 1.387 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008529/1.093, allocations: 0.7998 MB / 1.388 GB, free: 14.9 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/1.097, allocations: 2.298 MB / 1.39 GB, free: 13.25 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.097, allocations: 1.781 kB / 1.39 GB, free: 13.25 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.643e-06/1.097, allocations: 0 / 1.39 GB, free: 13.25 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.168e-05/1.097, allocations: 0 / 1.39 GB, free: 13.25 MB / 1.092 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.004213/1.101, allocations: 1.884 MB / 1.392 GB, free: 11.8 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.101, allocations: 8.969 kB / 1.392 GB, free: 11.8 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1083/1.209, allocations: 15.38 MB / 1.407 GB, free: 4.246 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/1.212, allocations: 1.235 MB / 1.408 GB, free: 3.277 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-05/1.212, allocations: 100.1 kB / 1.408 GB, free: 3.207 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004687/1.213, allocations: 120 kB / 1.408 GB, free: 3.09 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03613/1.249, allocations: 7.677 MB / 1.416 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/1.249, allocations: 3.938 kB / 1.416 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003363/1.249, allocations: 51.98 kB / 1.416 GB, free: 11.29 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/1.249, allocations: 28 kB / 1.416 GB, free: 11.26 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06796/1.317, allocations: 13.58 MB / 1.429 GB, free: 13.65 MB / 1.123 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.04148/1.359, allocations: 9.83 MB / 1.439 GB, free: 3.664 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03972/1.398, allocations: 7.913 MB / 1.447 GB, free: 11.74 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03195/1.43, allocations: 6.197 MB / 1.453 GB, free: 5.535 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/1.431, allocations: 0.6059 MB / 1.453 GB, free: 4.801 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03315/1.464, allocations: 6.753 MB / 1.46 GB, free: 14.02 MB / 1.154 GB Notification: Performance of pre-optimization done (n=113): time 5.931e-06/1.464, allocations: 0 / 1.46 GB, free: 14.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=113): time 0.09991/1.564, allocations: 18.18 MB / 1.478 GB, free: 11.79 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.564, allocations: 200.9 kB / 1.478 GB, free: 11.55 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.565, allocations: 0.7667 MB / 1.479 GB, free: 10.77 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005659/1.566, allocations: 49.7 kB / 1.479 GB, free: 10.72 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/1.566, allocations: 0.4975 MB / 1.479 GB, free: 10.21 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006397/1.567, allocations: 388.7 kB / 1.479 GB, free: 9.832 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/1.568, allocations: 378.4 kB / 1.48 GB, free: 9.453 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.568, allocations: 349.9 kB / 1.48 GB, free: 9.105 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03302/1.601, allocations: 6.318 MB / 1.486 GB, free: 2.781 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03351/1.635, allocations: 6.445 MB / 1.493 GB, free: 12.3 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06394/1.699, allocations: 10.92 MB / 1.503 GB, free: 1.355 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/1.699, allocations: 0 / 1.503 GB, free: 1.355 MB / 1.186 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06569/1.765, allocations: 12.27 MB / 1.515 GB, free: 5.059 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.765, allocations: 4 kB / 1.515 GB, free: 5.055 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.765, allocations: 0.875 kB / 1.515 GB, free: 5.055 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/1.765, allocations: 84.78 kB / 1.515 GB, free: 4.969 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01786/1.783, allocations: 2.683 MB / 1.518 GB, free: 2.281 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/1.785, allocations: 1.631 MB / 1.52 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01817/1.804, allocations: 2.46 MB / 1.522 GB, free: 14.04 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006967/1.804, allocations: 115.7 kB / 1.522 GB, free: 13.93 MB / 1.217 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.001143/1.805, allocations: 311.9 kB / 1.522 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005796/1.806, allocations: 118.6 kB / 1.522 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06577/1.872, allocations: 12.73 MB / 1.535 GB, free: 0.75 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/1.872, allocations: 16 kB / 1.535 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.872, allocations: 0.75 kB / 1.535 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/1.872, allocations: 7.969 kB / 1.535 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/1.874, allocations: 1.85 MB / 1.537 GB, free: 14.82 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.874, allocations: 4 kB / 1.537 GB, free: 14.82 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01759/1.892, allocations: 2.648 MB / 1.539 GB, free: 12.17 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004997/1.893, allocations: 76.72 kB / 1.539 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005926/1.893, allocations: 95.81 kB / 1.539 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/1.895, allocations: 1.662 MB / 1.541 GB, free: 10.19 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.895, allocations: 3.75 kB / 1.541 GB, free: 10.19 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06397/1.959, allocations: 12.09 MB / 1.553 GB, free: 14.06 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/1.961, allocations: 0.6674 MB / 1.554 GB, free: 13.37 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000489/1.961, allocations: 39.88 kB / 1.554 GB, free: 13.33 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01739/1.979, allocations: 2.403 MB / 1.556 GB, free: 10.93 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/1.979, allocations: 97.17 kB / 1.556 GB, free: 10.83 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004593/1.979, allocations: 107.8 kB / 1.556 GB, free: 10.73 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007917/1.98, allocations: 0.542 MB / 1.557 GB, free: 10.19 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.5e-07/1.98, allocations: 0 / 1.557 GB, free: 10.19 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00217/1.982, allocations: 0.7331 MB / 1.557 GB, free: 9.453 MB / 1.248 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.001675/1.984, allocations: 0.6609 MB / 1.558 GB, free: 8.973 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.06487/2.049, allocations: 12.9 MB / 1.571 GB, free: 12.04 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/2.049, allocations: 0 / 1.571 GB, free: 12.04 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0341/2.083, allocations: 6.509 MB / 1.577 GB, free: 5.512 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/2.085, allocations: 328.7 kB / 1.577 GB, free: 5.207 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03606/2.121, allocations: 8.001 MB / 1.585 GB, free: 13.16 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/2.122, allocations: 1.148 MB / 1.586 GB, free: 11.98 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003844/2.126, allocations: 0.7234 MB / 1.587 GB, free: 11.26 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001796/2.128, allocations: 255 kB / 1.587 GB, free: 11.01 MB / 1.279 GB Notification: Performance of SimCode: time 9.82e-07/2.128, allocations: 4 kB / 1.587 GB, free: 11 MB / 1.279 GB Notification: Performance of Templates: time 0.06053/2.188, allocations: 38.96 MB / 1.625 GB, free: 4.156 MB / 1.311 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