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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001348/0.001348, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.001428/0.001428, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.668/0.6693, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007462/0.6768, allocations: 6.062 MB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1513/0.8282, allocations: 151.9 MB / 1.363 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.8293, allocations: 23.88 kB / 1.363 GB, free: 15.05 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000871/0.8302, allocations: 217.9 kB / 1.363 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.8326, allocations: 0.6754 MB / 1.364 GB, free: 14.16 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.835, allocations: 1.024 MB / 1.365 GB, free: 13.14 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002327/0.8374, allocations: 1.944 MB / 1.366 GB, free: 11.19 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.8386, allocations: 0.8161 MB / 1.367 GB, free: 10.34 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.8397, allocations: 0.7126 MB / 1.368 GB, free: 9.621 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.8408, allocations: 0.7821 MB / 1.369 GB, free: 8.836 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.8412, allocations: 172 kB / 1.369 GB, free: 8.668 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.8425, allocations: 0.6714 MB / 1.37 GB, free: 7.996 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004682/0.843, allocations: 438.6 kB / 1.37 GB, free: 7.566 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.844, allocations: 0.7931 MB / 1.371 GB, free: 6.77 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.8469, allocations: 2.292 MB / 1.373 GB, free: 4.473 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8469, allocations: 0 / 1.373 GB, free: 4.473 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8469, allocations: 0 / 1.373 GB, free: 4.473 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.399e-05/0.847, allocations: 0 / 1.373 GB, free: 4.473 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.004311/0.8513, allocations: 1.845 MB / 1.375 GB, free: 2.574 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.8514, allocations: 8.031 kB / 1.375 GB, free: 2.566 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1131/0.9645, allocations: 15.38 MB / 1.39 GB, free: 3.164 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.9671, allocations: 1.227 MB / 1.391 GB, free: 1.891 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.9673, allocations: 98.47 kB / 1.391 GB, free: 1.793 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006514/0.9679, allocations: 120 kB / 1.391 GB, free: 1.676 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03825/1.006, allocations: 7.681 MB / 1.399 GB, free: 9.922 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/1.006, allocations: 0 / 1.399 GB, free: 9.922 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004841/1.007, allocations: 48 kB / 1.399 GB, free: 9.875 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/1.007, allocations: 28 kB / 1.399 GB, free: 9.848 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07282/1.08, allocations: 13.58 MB / 1.412 GB, free: 12.24 MB / 1.139 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.04415/1.124, allocations: 9.813 MB / 1.422 GB, free: 2.273 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04088/1.165, allocations: 7.916 MB / 1.429 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03344/1.198, allocations: 6.191 MB / 1.435 GB, free: 4.141 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/1.199, allocations: 0.6062 MB / 1.436 GB, free: 3.406 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03451/1.233, allocations: 6.749 MB / 1.443 GB, free: 12.63 MB / 1.17 GB Notification: Performance of pre-optimization done (n=113): time 4.008e-06/1.233, allocations: 0 / 1.443 GB, free: 12.63 MB / 1.17 GB Notification: Performance of matching and sorting (n=113): time 0.1005/1.334, allocations: 18.18 MB / 1.46 GB, free: 10.39 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/1.334, allocations: 192.9 kB / 1.461 GB, free: 10.16 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/1.335, allocations: 0.7783 MB / 1.461 GB, free: 9.367 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0007087/1.336, allocations: 45.7 kB / 1.461 GB, free: 9.316 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/1.337, allocations: 0.4887 MB / 1.462 GB, free: 8.82 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008873/1.338, allocations: 370.7 kB / 1.462 GB, free: 8.453 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/1.339, allocations: 374.4 kB / 1.463 GB, free: 8.078 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.339, allocations: 345.9 kB / 1.463 GB, free: 7.734 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03353/1.373, allocations: 6.326 MB / 1.469 GB, free: 1.402 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03405/1.407, allocations: 6.445 MB / 1.475 GB, free: 10.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06174/1.468, allocations: 10.92 MB / 1.486 GB, free: 15.98 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/1.469, allocations: 0 / 1.486 GB, free: 15.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06704/1.536, allocations: 12.27 MB / 1.498 GB, free: 3.684 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.536, allocations: 7.938 kB / 1.498 GB, free: 3.676 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.536, allocations: 0 / 1.498 GB, free: 3.676 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/1.536, allocations: 88.83 kB / 1.498 GB, free: 3.586 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01912/1.555, allocations: 2.675 MB / 1.501 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.558, allocations: 1.638 MB / 1.502 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01865/1.576, allocations: 2.452 MB / 1.505 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005759/1.577, allocations: 111.8 kB / 1.505 GB, free: 12.55 MB / 1.232 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.001332/1.578, allocations: 311.9 kB / 1.505 GB, free: 12.24 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/1.579, allocations: 102.8 kB / 1.505 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06839/1.647, allocations: 12.72 MB / 1.518 GB, free: 15.39 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/1.647, allocations: 16 kB / 1.518 GB, free: 15.38 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.647, allocations: 0 / 1.518 GB, free: 15.38 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.983e-05/1.648, allocations: 7.969 kB / 1.518 GB, free: 15.37 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/1.65, allocations: 1.857 MB / 1.519 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.65, allocations: 4 kB / 1.519 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01864/1.669, allocations: 2.652 MB / 1.522 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/1.67, allocations: 72.78 kB / 1.522 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005447/1.67, allocations: 95.81 kB / 1.522 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.672, allocations: 1.662 MB / 1.524 GB, free: 8.82 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.672, allocations: 4.062 kB / 1.524 GB, free: 8.816 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06766/1.74, allocations: 12.09 MB / 1.536 GB, free: 12.68 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.741, allocations: 0.659 MB / 1.536 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007343/1.742, allocations: 35.88 kB / 1.536 GB, free: 11.96 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01792/1.76, allocations: 2.402 MB / 1.539 GB, free: 9.559 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/1.761, allocations: 101.2 kB / 1.539 GB, free: 9.461 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004832/1.761, allocations: 99.81 kB / 1.539 GB, free: 9.363 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008444/1.762, allocations: 0.542 MB / 1.539 GB, free: 8.828 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.6e-07/1.762, allocations: 3.938 kB / 1.539 GB, free: 8.824 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002167/1.764, allocations: 0.7255 MB / 1.54 GB, free: 8.098 MB / 1.264 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.00179/1.766, allocations: 0.6516 MB / 1.541 GB, free: 7.629 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.06957/1.835, allocations: 12.91 MB / 1.553 GB, free: 10.69 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.835, allocations: 0 / 1.553 GB, free: 10.69 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.03506/1.871, allocations: 6.505 MB / 1.56 GB, free: 4.16 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/1.873, allocations: 335.9 kB / 1.56 GB, free: 3.852 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5837/2.457, allocations: 7.992 MB / 1.568 GB, free: 353.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/2.457, allocations: 1.155 MB / 1.569 GB, free: 352.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002698/2.46, allocations: 328 kB / 1.569 GB, free: 352.4 MB / 1.279 GB Notification: Performance of SimCode: time 7.52e-07/2.46, allocations: 1.469 kB / 1.569 GB, free: 352.4 MB / 1.279 GB Notification: Performance of Templates: time 0.05119/2.511, allocations: 44.84 MB / 1.613 GB, free: 319.7 MB / 1.279 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