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: "" <> 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.004593/0.004593, allocations: 98.16 kB / 15.73 MB, free: 6.039 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.001292/0.001292, allocations: 204.7 kB / 16.68 MB, free: 5.961 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 482.4 MB / 0.7548 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 72.08 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.28, allocations: 162.2 MB / 1.241 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008409/0.2885, allocations: 6.575 MB / 1.248 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6862/0.9747, allocations: 152 MB / 1.396 GB, free: 15.37 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009161/0.9756, allocations: 22.72 kB / 1.396 GB, free: 15.36 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007973/0.9765, allocations: 236.9 kB / 1.397 GB, free: 15.15 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.9787, allocations: 0.712 MB / 1.397 GB, free: 14.62 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.981, allocations: 1.045 MB / 1.398 GB, free: 13.83 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.9832, allocations: 2.152 MB / 1.4 GB, free: 12.48 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.9845, allocations: 0.9311 MB / 1.401 GB, free: 11.93 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009132/0.9854, allocations: 0.792 MB / 1.402 GB, free: 11.45 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.9864, allocations: 0.8514 MB / 1.403 GB, free: 10.85 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.9867, allocations: 208.6 kB / 1.403 GB, free: 10.85 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.9879, allocations: 0.7056 MB / 1.404 GB, free: 10.59 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.9883, allocations: 494.7 kB / 1.404 GB, free: 10.2 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008391/0.9892, allocations: 0.8917 MB / 1.405 GB, free: 9.547 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.992, allocations: 2.636 MB / 1.408 GB, free: 7.625 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.992, allocations: 1.125 kB / 1.408 GB, free: 7.625 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.392e-06/0.992, allocations: 0 / 1.408 GB, free: 7.625 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.992, allocations: 0 / 1.408 GB, free: 7.625 MB / 1.107 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.003713/0.9957, allocations: 2.028 MB / 1.41 GB, free: 6.078 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.9958, allocations: 9.531 kB / 1.41 GB, free: 6.078 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000259/0.996, allocations: 201.3 kB / 1.41 GB, free: 5.918 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.122/1.118, allocations: 15.39 MB / 1.425 GB, free: 11.66 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/1.121, allocations: 1.419 MB / 1.426 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/1.121, allocations: 102.8 kB / 1.426 GB, free: 10.1 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/1.122, allocations: 136 kB / 1.427 GB, free: 9.965 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04042/1.162, allocations: 8.045 MB / 1.434 GB, free: 1.852 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/1.162, allocations: 4 kB / 1.434 GB, free: 1.848 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003541/1.162, allocations: 56 kB / 1.434 GB, free: 1.793 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/1.162, allocations: 32 kB / 1.434 GB, free: 1.762 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07639/1.239, allocations: 14.14 MB / 1.448 GB, free: 3.602 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04885/1.288, allocations: 11.69 MB / 1.46 GB, free: 7.688 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04557/1.333, allocations: 8.283 MB / 1.468 GB, free: 15.39 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03741/1.371, allocations: 6.496 MB / 1.474 GB, free: 8.883 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006411/1.371, allocations: 0.6099 MB / 1.475 GB, free: 8.148 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03826/1.41, allocations: 7.058 MB / 1.482 GB, free: 1.059 MB / 1.17 GB Notification: Performance of pre-optimization done (n=115): time 3.306e-06/1.41, allocations: 0 / 1.482 GB, free: 1.059 MB / 1.17 GB Notification: Performance of matching and sorting (n=115): time 0.1122/1.522, allocations: 18.96 MB / 1.5 GB, free: 14.05 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/1.522, allocations: 192.9 kB / 1.5 GB, free: 13.82 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/1.523, allocations: 0.8178 MB / 1.501 GB, free: 13 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004223/1.524, allocations: 45.7 kB / 1.501 GB, free: 12.95 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/1.524, allocations: 0.556 MB / 1.502 GB, free: 12.38 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005652/1.525, allocations: 388.7 kB / 1.502 GB, free: 12 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/1.526, allocations: 362.5 kB / 1.502 GB, free: 11.64 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.526, allocations: 349.9 kB / 1.503 GB, free: 11.29 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03783/1.564, allocations: 6.556 MB / 1.509 GB, free: 4.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03811/1.602, allocations: 6.698 MB / 1.516 GB, free: 13.99 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.069/1.671, allocations: 11.2 MB / 1.527 GB, free: 2.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.671, allocations: 0 / 1.527 GB, free: 2.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.07462/1.746, allocations: 12.63 MB / 1.539 GB, free: 6.117 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.746, allocations: 4 kB / 1.539 GB, free: 6.113 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.746, allocations: 0 / 1.539 GB, free: 6.113 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/1.747, allocations: 87.7 kB / 1.539 GB, free: 6.027 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02081/1.767, allocations: 2.675 MB / 1.542 GB, free: 3.348 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/1.77, allocations: 1.646 MB / 1.543 GB, free: 1.555 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0205/1.79, allocations: 2.46 MB / 1.546 GB, free: 15.09 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/1.791, allocations: 107.8 kB / 1.546 GB, free: 14.99 MB / 1.248 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.001083/1.792, allocations: 347.8 kB / 1.546 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/1.792, allocations: 115.2 kB / 1.546 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07598/1.868, allocations: 13.19 MB / 1.559 GB, free: 1.301 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.868, allocations: 12 kB / 1.559 GB, free: 1.289 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/1.868, allocations: 4 kB / 1.559 GB, free: 1.285 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/1.868, allocations: 19.84 kB / 1.559 GB, free: 1.266 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/1.871, allocations: 2.458 MB / 1.562 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.871, allocations: 0 / 1.562 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02076/1.892, allocations: 2.656 MB / 1.564 GB, free: 12.09 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004859/1.893, allocations: 72.78 kB / 1.564 GB, free: 12.02 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003737/1.893, allocations: 91.81 kB / 1.564 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/1.895, allocations: 1.682 MB / 1.566 GB, free: 10.1 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.895, allocations: 3.938 kB / 1.566 GB, free: 10.09 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07507/1.97, allocations: 12.57 MB / 1.578 GB, free: 13.49 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.972, allocations: 0.8119 MB / 1.579 GB, free: 12.66 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/1.973, allocations: 31.94 kB / 1.579 GB, free: 12.63 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01971/1.992, allocations: 2.399 MB / 1.581 GB, free: 10.23 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.993, allocations: 97.17 kB / 1.581 GB, free: 10.13 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004109/1.993, allocations: 103.8 kB / 1.582 GB, free: 10.03 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008913/1.994, allocations: 0.5848 MB / 1.582 GB, free: 9.453 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.51e-07/1.994, allocations: 0 / 1.582 GB, free: 9.453 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002091/1.996, allocations: 0.7487 MB / 1.583 GB, free: 8.703 MB / 1.279 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.07897/2.075, allocations: 13.68 MB / 1.596 GB, free: 11.15 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.07791/2.153, allocations: 13.43 MB / 1.609 GB, free: 13.7 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/2.153, allocations: 0 / 1.609 GB, free: 13.7 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.03884/2.192, allocations: 6.814 MB / 1.616 GB, free: 6.863 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/2.194, allocations: 352.5 kB / 1.616 GB, free: 6.539 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2386/2.432, allocations: 45.35 MB / 1.661 GB, free: 8.988 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/2.433, allocations: 1.186 MB / 1.662 GB, free: 7.773 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.003673/2.437, allocations: 0.7393 MB / 1.662 GB, free: 7.031 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/2.439, allocations: 0.6786 MB / 1.663 GB, free: 6.352 MB / 1.357 GB Notification: Performance of SimCode: time 5.81e-07/2.439, allocations: 0 / 1.663 GB, free: 6.352 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0955/2.535, allocations: 50.46 MB / 1.712 GB, free: 4.094 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/16.52, allocations: 4.656 kB / 1.712 GB, free: 4.09 MB / 1.404 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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