Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_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.001434/0.001434, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 59.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5971/0.5985, allocations: 140.4 MB / 0.9497 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.005981/0.6045, allocations: 5.33 MB / 0.9549 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.7621, allocations: 151.6 MB / 1.103 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.7634, allocations: 19.88 kB / 1.103 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008143/0.7643, allocations: 198.1 kB / 1.103 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.7666, allocations: 0.6054 MB / 1.104 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.7691, allocations: 1.033 MB / 1.105 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002136/0.7712, allocations: 1.924 MB / 1.107 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.7727, allocations: 0.9943 MB / 1.108 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.7737, allocations: 0.7553 MB / 1.108 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.7749, allocations: 0.8287 MB / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004875/0.7754, allocations: 212 kB / 1.109 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.7768, allocations: 0.6753 MB / 1.11 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005624/0.7774, allocations: 498.4 kB / 1.111 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.7785, allocations: 0.8553 MB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.7815, allocations: 2.501 MB / 1.114 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7815, allocations: 0 / 1.114 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7815, allocations: 0 / 1.114 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.931e-05/0.7816, allocations: 4 kB / 1.114 GB, free: 9.242 MB / 0.8731 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.003896/0.7855, allocations: 1.944 MB / 1.116 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7855, allocations: 8.031 kB / 1.116 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000229/0.7858, allocations: 207 kB / 1.116 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1169/0.9027, allocations: 15.38 MB / 1.131 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/0.9055, allocations: 1.387 MB / 1.132 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.9056, allocations: 102.8 kB / 1.132 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006511/0.9062, allocations: 136 kB / 1.133 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03867/0.9449, allocations: 8.045 MB / 1.14 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.945, allocations: 4 kB / 1.14 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004/0.9454, allocations: 56 kB / 1.14 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.9454, allocations: 32 kB / 1.14 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07313/1.019, allocations: 14.14 MB / 1.154 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04707/1.066, allocations: 11.14 MB / 1.165 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04314/1.109, allocations: 8.283 MB / 1.173 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03569/1.145, allocations: 6.491 MB / 1.18 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005762/1.145, allocations: 0.6023 MB / 1.18 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03676/1.182, allocations: 7.065 MB / 1.187 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=115): time 5.029e-06/1.182, allocations: 0 / 1.187 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=115): time 0.1071/1.289, allocations: 18.94 MB / 1.206 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.289, allocations: 196.9 kB / 1.206 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.29, allocations: 0.8138 MB / 1.207 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005802/1.291, allocations: 49.7 kB / 1.207 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/1.292, allocations: 0.5392 MB / 1.207 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008047/1.292, allocations: 370.6 kB / 1.207 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/1.294, allocations: 366.4 kB / 1.208 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.294, allocations: 349.9 kB / 1.208 GB, free: 8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03557/1.329, allocations: 6.545 MB / 1.215 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03579/1.365, allocations: 6.698 MB / 1.221 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06498/1.43, allocations: 11.2 MB / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/1.43, allocations: 0 / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06997/1.5, allocations: 12.61 MB / 1.244 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.5, allocations: 6.031 kB / 1.244 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.5, allocations: 4 kB / 1.244 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/1.501, allocations: 96.69 kB / 1.244 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01941/1.52, allocations: 2.671 MB / 1.247 GB, free: 52 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3814/1.902, allocations: 1.64 MB / 1.249 GB, free: 286.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01987/1.922, allocations: 2.453 MB / 1.251 GB, free: 286.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/1.922, allocations: 103 kB / 1.251 GB, free: 286.1 MB / 0.9981 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.001066/1.923, allocations: 345.2 kB / 1.251 GB, free: 286 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/1.924, allocations: 109.8 kB / 1.252 GB, free: 286 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07174/1.996, allocations: 13.21 MB / 1.265 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/1.996, allocations: 13.16 kB / 1.265 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.996, allocations: 0 / 1.265 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/1.996, allocations: 9.375 kB / 1.265 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/1.999, allocations: 2.462 MB / 1.267 GB, free: 279.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.999, allocations: 0 / 1.267 GB, free: 279.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0191/2.018, allocations: 2.652 MB / 1.27 GB, free: 278.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/2.018, allocations: 79.59 kB / 1.27 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000463/2.019, allocations: 94.09 kB / 1.27 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/2.02, allocations: 1.669 MB / 1.271 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/2.02, allocations: 1.094 kB / 1.271 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06748/2.088, allocations: 12.56 MB / 1.284 GB, free: 270 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/2.089, allocations: 0.8045 MB / 1.284 GB, free: 269.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005059/2.09, allocations: 35.47 kB / 1.284 GB, free: 269.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01834/2.108, allocations: 2.402 MB / 1.287 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/2.108, allocations: 97.17 kB / 1.287 GB, free: 266.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003865/2.109, allocations: 111.8 kB / 1.287 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006487/2.109, allocations: 0.5732 MB / 1.288 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/2.109, allocations: 0 / 1.288 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001908/2.111, allocations: 0.7262 MB / 1.288 GB, free: 265.5 MB / 0.9981 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.06783/2.179, allocations: 13.66 MB / 1.302 GB, free: 252.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06921/2.248, allocations: 13.81 MB / 1.315 GB, free: 238.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/2.248, allocations: 0 / 1.315 GB, free: 238.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03367/2.282, allocations: 6.806 MB / 1.322 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/2.284, allocations: 336.8 kB / 1.322 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2093/2.493, allocations: 45.89 MB / 1.367 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/2.494, allocations: 1.186 MB / 1.368 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003886/2.498, allocations: 0.7391 MB / 1.369 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/2.5, allocations: 0.6747 MB / 1.369 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/2.5, allocations: 0 / 1.369 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06681/2.566, allocations: 49.62 MB / 1.418 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/14.55, allocations: 1.219 kB / 1.418 GB, free: 132.9 MB / 0.9981 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches