Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_latest_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_latest_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.001607/0.001607, allocations: 102.5 kB / 16.27 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.001733/0.001733, allocations: 186.5 kB / 17.2 MB, free: 5.605 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.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.683/2.683, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 66.66 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8305/0.8324, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008565/0.841, allocations: 6.58 MB / 1.089 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1904/1.031, allocations: 152 MB / 1.238 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/1.033, allocations: 23.88 kB / 1.238 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006884/1.033, allocations: 245.6 kB / 1.238 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/1.036, allocations: 0.7022 MB / 1.239 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/1.038, allocations: 1.042 MB / 1.24 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002338/1.04, allocations: 2.134 MB / 1.242 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/1.042, allocations: 0.9286 MB / 1.243 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009867/1.043, allocations: 0.7827 MB / 1.244 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/1.044, allocations: 0.86 MB / 1.244 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002855/1.044, allocations: 208 kB / 1.245 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/1.045, allocations: 0.6831 MB / 1.245 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004568/1.046, allocations: 486.6 kB / 1.246 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008716/1.047, allocations: 0.8982 MB / 1.247 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002889/1.05, allocations: 2.575 MB / 1.249 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.05, allocations: 0 / 1.249 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/1.05, allocations: 0 / 1.249 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.281e-05/1.05, allocations: 3.938 kB / 1.249 GB, free: 4.191 MB / 0.9669 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.003684/1.053, allocations: 1.963 MB / 1.251 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.053, allocations: 8.031 kB / 1.251 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1117/1.165, allocations: 15.39 MB / 1.266 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/1.168, allocations: 1.383 MB / 1.267 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/1.168, allocations: 106.7 kB / 1.267 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/1.169, allocations: 132 kB / 1.268 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03764/1.207, allocations: 8.041 MB / 1.275 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/1.207, allocations: 0 / 1.275 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003516/1.207, allocations: 59.98 kB / 1.276 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/1.207, allocations: 36 kB / 1.276 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07268/1.28, allocations: 14.14 MB / 1.289 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04817/1.328, allocations: 11.74 MB / 1.301 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04396/1.372, allocations: 8.289 MB / 1.309 GB, free: 6.465 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03496/1.407, allocations: 6.499 MB / 1.315 GB, free: 15.95 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007739/1.408, allocations: 0.5983 MB / 1.316 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03668/1.444, allocations: 7.053 MB / 1.323 GB, free: 8.141 MB / 1.045 GB Notification: Performance of pre-optimization done (n=115): time 3.186e-06/1.444, allocations: 3.938 kB / 1.323 GB, free: 8.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=115): time 0.1057/1.55, allocations: 18.95 MB / 1.341 GB, free: 5.137 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.55, allocations: 192.9 kB / 1.341 GB, free: 4.906 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.552, allocations: 0.8138 MB / 1.342 GB, free: 4.086 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.00049/1.552, allocations: 49.7 kB / 1.342 GB, free: 4.031 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005321/1.553, allocations: 0.5393 MB / 1.343 GB, free: 3.484 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006379/1.553, allocations: 374.6 kB / 1.343 GB, free: 3.117 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/1.554, allocations: 378.3 kB / 1.344 GB, free: 2.742 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.555, allocations: 357.8 kB / 1.344 GB, free: 2.387 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03518/1.59, allocations: 6.572 MB / 1.35 GB, free: 11.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03525/1.625, allocations: 6.703 MB / 1.357 GB, free: 5.074 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06168/1.687, allocations: 11.22 MB / 1.368 GB, free: 9.824 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/1.687, allocations: 0 / 1.368 GB, free: 9.824 MB / 1.092 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.06755/1.754, allocations: 12.67 MB / 1.38 GB, free: 13.12 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.754, allocations: 4 kB / 1.38 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.754, allocations: 0 / 1.38 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/1.755, allocations: 92.77 kB / 1.38 GB, free: 13.02 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01899/1.774, allocations: 2.679 MB / 1.383 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/1.776, allocations: 1.658 MB / 1.384 GB, free: 8.535 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0184/1.795, allocations: 2.456 MB / 1.387 GB, free: 6.074 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005766/1.796, allocations: 111.8 kB / 1.387 GB, free: 5.965 MB / 1.107 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.001162/1.797, allocations: 344.3 kB / 1.387 GB, free: 5.621 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/1.797, allocations: 110.7 kB / 1.387 GB, free: 5.512 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07088/1.868, allocations: 13.19 MB / 1.4 GB, free: 8.289 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/1.868, allocations: 20 kB / 1.4 GB, free: 8.27 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.868, allocations: 7.938 kB / 1.4 GB, free: 8.262 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/1.868, allocations: 7.969 kB / 1.4 GB, free: 8.254 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/1.871, allocations: 2.454 MB / 1.403 GB, free: 5.746 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.872, allocations: 4 kB / 1.403 GB, free: 5.742 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01847/1.89, allocations: 2.652 MB / 1.405 GB, free: 3.086 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004949/1.891, allocations: 76.78 kB / 1.405 GB, free: 3.008 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004797/1.891, allocations: 91.81 kB / 1.405 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/1.893, allocations: 1.678 MB / 1.407 GB, free: 1.094 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.893, allocations: 3.984 kB / 1.407 GB, free: 1.09 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06789/1.961, allocations: 12.57 MB / 1.419 GB, free: 4.484 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.963, allocations: 0.7957 MB / 1.42 GB, free: 3.668 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/1.963, allocations: 35.84 kB / 1.42 GB, free: 3.633 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01806/1.981, allocations: 2.402 MB / 1.423 GB, free: 1.227 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/1.982, allocations: 97.17 kB / 1.423 GB, free: 1.133 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000417/1.982, allocations: 111.8 kB / 1.423 GB, free: 1.023 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008758/1.983, allocations: 0.5732 MB / 1.423 GB, free: 464 kB / 1.139 GB Notification: Performance of sort global known variables: time 1.8e-07/1.983, allocations: 0 / 1.423 GB, free: 464 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.002233/1.985, allocations: 0.7449 MB / 1.424 GB, free: 15.71 MB / 1.154 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.002431/1.988, allocations: 0.6427 MB / 1.425 GB, free: 15.23 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.07327/2.061, allocations: 13.84 MB / 1.438 GB, free: 1.367 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/2.061, allocations: 0 / 1.438 GB, free: 1.367 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.03558/2.097, allocations: 6.806 MB / 1.445 GB, free: 10.54 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/2.099, allocations: 364 kB / 1.445 GB, free: 10.21 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03906/2.138, allocations: 8.493 MB / 1.453 GB, free: 1.668 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008648/2.139, allocations: 1.183 MB / 1.455 GB, free: 464 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002573/2.141, allocations: 338.8 kB / 1.455 GB, free: 128 kB / 1.17 GB Notification: Performance of SimCode: time 8.82e-07/2.141, allocations: 0 / 1.455 GB, free: 128 kB / 1.17 GB Notification: Performance of Templates: time 0.06731/2.208, allocations: 49.68 MB / 1.503 GB, free: 14.36 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches