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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008087/0.008087, allocations: 103 kB / 15.73 MB, free: 6.035 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.001506/0.001506, allocations: 190 kB / 16.67 MB, free: 5.965 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.893/2.893, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 68.11 kB / 1.054 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3455, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.009165/0.3547, allocations: 6.57 MB / 1.214 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.025/1.38, allocations: 152 MB / 1.362 GB, free: 7.164 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/1.381, allocations: 17.53 kB / 1.362 GB, free: 7.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/1.383, allocations: 245 kB / 1.362 GB, free: 7.004 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/1.386, allocations: 0.6971 MB / 1.363 GB, free: 6.586 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004141/1.39, allocations: 1.05 MB / 1.364 GB, free: 6.027 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00396/1.394, allocations: 2.147 MB / 1.366 GB, free: 4.914 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/1.396, allocations: 0.9392 MB / 1.367 GB, free: 4.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/1.399, allocations: 0.798 MB / 1.368 GB, free: 4.027 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/1.401, allocations: 0.8563 MB / 1.369 GB, free: 3.582 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007811/1.401, allocations: 207.2 kB / 1.369 GB, free: 3.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/1.404, allocations: 0.6985 MB / 1.37 GB, free: 3.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009136/1.405, allocations: 491.7 kB / 1.37 GB, free: 3.117 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002032/1.407, allocations: 0.9054 MB / 1.371 GB, free: 2.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004671/1.411, allocations: 2.62 MB / 1.374 GB, free: 1.227 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.411, allocations: 0 / 1.374 GB, free: 1.227 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.873e-06/1.411, allocations: 0 / 1.374 GB, free: 1.227 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001049/1.412, allocations: 4 kB / 1.374 GB, free: 1.223 MB / 1.061 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.006381/1.418, allocations: 1.969 MB / 1.375 GB, free: 15.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.418, allocations: 9.562 kB / 1.375 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005473/1.419, allocations: 207.7 kB / 1.376 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1186/1.537, allocations: 15.39 MB / 1.391 GB, free: 8.008 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003995/1.541, allocations: 1.411 MB / 1.392 GB, free: 6.879 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/1.541, allocations: 104.1 kB / 1.392 GB, free: 6.832 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009403/1.542, allocations: 135.5 kB / 1.392 GB, free: 6.789 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03951/1.582, allocations: 8.044 MB / 1.4 GB, free: 1.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/1.582, allocations: 1.562 kB / 1.4 GB, free: 1.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006532/1.583, allocations: 65.95 kB / 1.4 GB, free: 1.418 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/1.583, allocations: 32 kB / 1.4 GB, free: 1.387 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07474/1.657, allocations: 14.14 MB / 1.414 GB, free: 3.227 MB / 1.092 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.05089/1.708, allocations: 11.48 MB / 1.425 GB, free: 7.574 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04417/1.753, allocations: 8.278 MB / 1.433 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03513/1.788, allocations: 6.496 MB / 1.44 GB, free: 8.781 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/1.789, allocations: 0.6022 MB / 1.44 GB, free: 8.047 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03696/1.826, allocations: 7.065 MB / 1.447 GB, free: 0.957 MB / 1.123 GB Notification: Performance of pre-optimization done (n=115): time 6.933e-06/1.826, allocations: 0 / 1.447 GB, free: 0.957 MB / 1.123 GB Notification: Performance of matching and sorting (n=115): time 0.1081/1.934, allocations: 18.95 MB / 1.466 GB, free: 13.95 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.934, allocations: 196.9 kB / 1.466 GB, free: 13.72 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/1.935, allocations: 0.81 MB / 1.467 GB, free: 12.9 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0007021/1.936, allocations: 45.7 kB / 1.467 GB, free: 12.85 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/1.937, allocations: 0.5471 MB / 1.467 GB, free: 12.29 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/1.938, allocations: 370.6 kB / 1.468 GB, free: 11.93 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/1.939, allocations: 366.3 kB / 1.468 GB, free: 11.56 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.94, allocations: 357.9 kB / 1.468 GB, free: 11.21 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.036/1.976, allocations: 6.545 MB / 1.475 GB, free: 4.652 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03632/2.012, allocations: 6.694 MB / 1.481 GB, free: 13.91 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06557/2.078, allocations: 11.21 MB / 1.492 GB, free: 2.684 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/2.078, allocations: 3.75 kB / 1.492 GB, free: 2.684 MB / 1.17 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.07214/2.15, allocations: 12.62 MB / 1.504 GB, free: 6.035 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/2.15, allocations: 8 kB / 1.504 GB, free: 6.027 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/2.15, allocations: 0.5 kB / 1.504 GB, free: 6.027 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/2.15, allocations: 80.84 kB / 1.505 GB, free: 5.945 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01973/2.17, allocations: 2.675 MB / 1.507 GB, free: 3.266 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/2.173, allocations: 1.647 MB / 1.509 GB, free: 1.484 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01967/2.193, allocations: 2.46 MB / 1.511 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008319/2.194, allocations: 99.81 kB / 1.511 GB, free: 14.92 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (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 (134): * Single equations (assignments): 133 * 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.001881/2.195, allocations: 347.3 kB / 1.512 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000969/2.196, allocations: 110.6 kB / 1.512 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.073/2.269, allocations: 13.2 MB / 1.525 GB, free: 1.234 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/2.269, allocations: 12 kB / 1.525 GB, free: 1.223 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/2.269, allocations: 0 / 1.525 GB, free: 1.223 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.7e-05/2.27, allocations: 7.922 kB / 1.525 GB, free: 1.215 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/2.274, allocations: 2.462 MB / 1.527 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/2.274, allocations: 8 kB / 1.527 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01929/2.293, allocations: 2.648 MB / 1.53 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/2.294, allocations: 76.73 kB / 1.53 GB, free: 11.96 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007954/2.295, allocations: 95.8 kB / 1.53 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/2.297, allocations: 1.681 MB / 1.531 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/2.297, allocations: 0 / 1.531 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07122/2.368, allocations: 12.56 MB / 1.544 GB, free: 13.45 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002614/2.371, allocations: 0.8073 MB / 1.544 GB, free: 12.62 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008875/2.372, allocations: 27.98 kB / 1.544 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01953/2.391, allocations: 2.402 MB / 1.547 GB, free: 10.18 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/2.392, allocations: 105.2 kB / 1.547 GB, free: 10.08 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007256/2.392, allocations: 99.81 kB / 1.547 GB, free: 9.984 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001187/2.394, allocations: 0.5809 MB / 1.548 GB, free: 9.406 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.61e-07/2.394, allocations: 0 / 1.548 GB, free: 9.406 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003284/2.397, allocations: 0.7447 MB / 1.548 GB, free: 8.664 MB / 1.232 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.0757/2.473, allocations: 13.66 MB / 1.562 GB, free: 11.14 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.07504/2.548, allocations: 13.43 MB / 1.575 GB, free: 13.68 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/2.548, allocations: 0 / 1.575 GB, free: 13.68 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.03788/2.586, allocations: 6.818 MB / 1.581 GB, free: 6.836 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/2.589, allocations: 347.9 kB / 1.582 GB, free: 6.52 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2292/2.818, allocations: 45.3 MB / 1.626 GB, free: 9.02 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/2.819, allocations: 1.183 MB / 1.627 GB, free: 7.805 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.004364/2.824, allocations: 0.7432 MB / 1.628 GB, free: 7.059 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00266/2.826, allocations: 0.6786 MB / 1.629 GB, free: 6.379 MB / 1.311 GB Notification: Performance of SimCode: time 3.597e-06/2.827, allocations: 0 / 1.629 GB, free: 6.379 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09354/2.92, allocations: 51.77 MB / 1.679 GB, free: 2.801 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/17.59, allocations: 13.66 kB / 1.679 GB, free: 2.793 MB / 1.357 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > 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