Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.007995/0.007995, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001845/0.001845, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.212/2.212, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6714/0.6727, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007111/0.6798, allocations: 6.985 MB / 1.094 GB, free: 260 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.8595, allocations: 159.4 MB / 1.25 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.8613, allocations: 43.75 kB / 1.25 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005502/0.8669, allocations: 1.949 MB / 1.252 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.8707, allocations: 1.179 MB / 1.253 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.8744, allocations: 1.422 MB / 1.254 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005273/0.8797, allocations: 5.253 MB / 1.26 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.8815, allocations: 1.166 MB / 1.261 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.884, allocations: 1.663 MB / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.8862, allocations: 1.463 MB / 1.264 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006893/0.8869, allocations: 280 kB / 1.264 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004012/0.8909, allocations: 2.352 MB / 1.266 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002511/0.8934, allocations: 3.014 MB / 1.269 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004074/0.8975, allocations: 2.896 MB / 1.272 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.9085, allocations: 10.75 MB / 1.283 GB, free: 5.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9085, allocations: 3.938 kB / 1.283 GB, free: 5.836 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9085, allocations: 0 / 1.283 GB, free: 5.836 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002665/0.9088, allocations: 0 / 1.283 GB, free: 5.836 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01853/0.9273, allocations: 8.238 MB / 1.291 GB, free: 13.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.9274, allocations: 12.03 kB / 1.291 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002724/0.9277, allocations: 219.9 kB / 1.291 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.9301, allocations: 0.5957 MB / 1.291 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2408/1.171, allocations: 276 MB / 1.561 GB, free: 8.5 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/1.171, allocations: 142.9 kB / 1.561 GB, free: 8.359 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/1.172, allocations: 184 kB / 1.561 GB, free: 8.18 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/1.175, allocations: 1.964 MB / 1.563 GB, free: 6.137 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/1.175, allocations: 0 / 1.563 GB, free: 6.137 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/1.176, allocations: 67.98 kB / 1.563 GB, free: 6.07 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/1.176, allocations: 36 kB / 1.563 GB, free: 6.035 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003203/1.179, allocations: 1.986 MB / 1.565 GB, free: 4.043 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5248/1.704, allocations: 69.84 MB / 1.633 GB, free: 441 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.706, allocations: 1.78 MB / 1.635 GB, free: 440.4 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/1.707, allocations: 1.08 MB / 1.636 GB, free: 439.6 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 8.188e-05/1.708, allocations: 39.27 kB / 1.636 GB, free: 439.6 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/1.709, allocations: 1.196 MB / 1.637 GB, free: 438.6 MB / 1.311 GB Notification: Performance of pre-optimization done (n=117): time 2.816e-06/1.709, allocations: 0 / 1.637 GB, free: 438.6 MB / 1.311 GB Notification: Performance of matching and sorting (n=117): time 0.007564/1.717, allocations: 3.702 MB / 1.641 GB, free: 435.5 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.717, allocations: 344.8 kB / 1.641 GB, free: 435.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2659/1.983, allocations: 315.9 MB / 1.95 GB, free: 124.8 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003831/1.983, allocations: 65.7 kB / 1.95 GB, free: 124.7 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002796/1.986, allocations: 2.229 MB / 1.952 GB, free: 122.7 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/1.986, allocations: 385.5 kB / 1.953 GB, free: 122.3 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005656/1.987, allocations: 463.3 kB / 1.953 GB, free: 121.9 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 3.73e-05/1.987, allocations: 304 kB / 1.953 GB, free: 121.6 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/1.989, allocations: 1.522 MB / 1.955 GB, free: 120 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/1.99, allocations: 1.834 MB / 1.957 GB, free: 118.1 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/1.994, allocations: 3.228 MB / 1.96 GB, free: 114.8 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.994, allocations: 3.75 kB / 1.96 GB, free: 114.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007957/2.002, allocations: 4.284 MB / 1.964 GB, free: 110.5 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/2.002, allocations: 169.6 kB / 1.964 GB, free: 110.4 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/2.002, allocations: 4 kB / 1.964 GB, free: 110.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/2.002, allocations: 88.03 kB / 1.964 GB, free: 110.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/2.004, allocations: 400.8 kB / 1.965 GB, free: 109.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/2.005, allocations: 1.641 MB / 1.966 GB, free: 108.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/2.009, allocations: 0.6293 MB / 1.967 GB, free: 107.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/2.009, allocations: 91.97 kB / 1.967 GB, free: 107.4 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.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 (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * 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.002502/2.012, allocations: 2.163 MB / 1.969 GB, free: 105.2 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/2.014, allocations: 457.9 kB / 1.969 GB, free: 104.8 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/2.019, allocations: 3.369 MB / 1.973 GB, free: 101.4 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/2.019, allocations: 12 kB / 1.973 GB, free: 101.4 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/2.019, allocations: 4 kB / 1.973 GB, free: 101.4 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/2.019, allocations: 11.97 kB / 1.973 GB, free: 101.3 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/2.023, allocations: 4.087 MB / 1.977 GB, free: 97.23 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/2.023, allocations: 3.938 kB / 1.977 GB, free: 97.23 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/2.024, allocations: 183.7 kB / 1.977 GB, free: 97.05 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004332/2.024, allocations: 78.75 kB / 1.977 GB, free: 96.97 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-05/2.024, allocations: 35.97 kB / 1.977 GB, free: 96.93 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/2.026, allocations: 1.669 MB / 1.979 GB, free: 95.12 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/2.026, allocations: 0 / 1.979 GB, free: 95.12 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/2.031, allocations: 3.032 MB / 1.982 GB, free: 92.06 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003139/2.034, allocations: 1.774 MB / 1.983 GB, free: 90.26 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009021/2.035, allocations: 31.98 kB / 1.983 GB, free: 90.23 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/2.037, allocations: 419.9 kB / 1.984 GB, free: 89.82 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/2.038, allocations: 96.69 kB / 1.984 GB, free: 89.73 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/2.038, allocations: 59.97 kB / 1.984 GB, free: 89.67 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.6481/2.686, allocations: 251.5 MB / 2.229 GB, free: 362 MB / 1.326 GB Notification: Performance of sort global known variables: time 5.61e-07/2.686, allocations: 0 / 2.229 GB, free: 362 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.004314/2.69, allocations: 1.382 MB / 2.231 GB, free: 360.8 MB / 1.326 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,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.008214/2.698, allocations: 4.449 MB / 2.235 GB, free: 357.3 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004562/2.703, allocations: 4.334 MB / 2.239 GB, free: 353.4 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/2.703, allocations: 0 / 2.239 GB, free: 353.4 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/2.705, allocations: 1.906 MB / 2.241 GB, free: 351.6 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/2.709, allocations: 0.6021 MB / 2.242 GB, free: 351.1 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.86/4.569, allocations: 1.258 GB / 3.5 GB, free: 126.6 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002235/4.571, allocations: 3.011 MB / 3.503 GB, free: 123.6 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003461/4.575, allocations: 1.686 MB / 3.504 GB, free: 122 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00316/4.578, allocations: 2.346 MB / 3.507 GB, free: 119.7 MB / 1.342 GB Notification: Performance of SimCode: time 6.81e-07/4.578, allocations: 4 kB / 3.507 GB, free: 119.7 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.132/5.71, allocations: 272.8 MB / 3.773 GB, free: 376.3 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.08/27.79, allocations: 19.56 kB / 3.773 GB, free: 376.3 MB / 1.342 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches