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.001902/0.001902, allocations: 108 kB / 15.61 MB, free: 152 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.002107/0.002107, allocations: 196 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.321/2.321, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 67.89 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.5492, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007134/0.5563, allocations: 6.981 MB / 0.9565 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.162/0.7184, allocations: 159.4 MB / 1.112 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.7199, allocations: 39.81 kB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004542/0.7245, allocations: 1.953 MB / 1.114 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.7274, allocations: 1.177 MB / 1.115 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.7305, allocations: 1.425 MB / 1.117 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004813/0.7353, allocations: 5.225 MB / 1.122 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.7369, allocations: 1.17 MB / 1.123 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.7392, allocations: 1.644 MB / 1.125 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.7412, allocations: 1.459 MB / 1.126 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004422/0.7417, allocations: 280 kB / 1.126 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003684/0.7454, allocations: 2.325 MB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002349/0.7478, allocations: 3.018 MB / 1.131 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004246/0.752, allocations: 2.896 MB / 1.134 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.7633, allocations: 10.65 MB / 1.145 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7634, allocations: 3.984 kB / 1.145 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7634, allocations: 0 / 1.145 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002092/0.7636, allocations: 0 / 1.145 GB, free: 9.496 MB / 0.9044 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.01784/0.7814, allocations: 8.231 MB / 1.153 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7815, allocations: 8.031 kB / 1.153 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002937/0.7818, allocations: 227.9 kB / 1.153 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/0.7849, allocations: 0.5917 MB / 1.154 GB, free: 340 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6066/1.392, allocations: 276 MB / 1.423 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/1.392, allocations: 142.9 kB / 1.423 GB, free: 120 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/1.392, allocations: 188 kB / 1.423 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/1.394, allocations: 1.955 MB / 1.425 GB, free: 117.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/1.394, allocations: 3.938 kB / 1.425 GB, free: 117.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/1.394, allocations: 72 kB / 1.425 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/1.394, allocations: 35.98 kB / 1.425 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/1.397, allocations: 1.982 MB / 1.427 GB, free: 115.7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04054/1.437, allocations: 69.9 MB / 1.496 GB, free: 45.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/1.44, allocations: 1.785 MB / 1.497 GB, free: 43.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/1.441, allocations: 1.081 MB / 1.498 GB, free: 42.81 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-05/1.441, allocations: 41.09 kB / 1.498 GB, free: 42.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/1.442, allocations: 1.195 MB / 1.5 GB, free: 41.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.755e-06/1.442, allocations: 0 / 1.5 GB, free: 41.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.007253/1.45, allocations: 3.698 MB / 1.503 GB, free: 37.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.45, allocations: 338.5 kB / 1.503 GB, free: 37.44 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7075/2.157, allocations: 315.9 MB / 1.812 GB, free: 305.9 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003659/2.158, allocations: 69.88 kB / 1.812 GB, free: 305.8 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002926/2.161, allocations: 2.229 MB / 1.814 GB, free: 303.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000565/2.161, allocations: 387.4 kB / 1.815 GB, free: 303.6 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006059/2.162, allocations: 457.4 kB / 1.815 GB, free: 303.1 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 5.164e-05/2.162, allocations: 304.9 kB / 1.815 GB, free: 302.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/2.164, allocations: 1.526 MB / 1.817 GB, free: 301.3 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/2.165, allocations: 1.833 MB / 1.819 GB, free: 299.4 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/2.169, allocations: 3.226 MB / 1.822 GB, free: 296.1 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/2.169, allocations: 4 kB / 1.822 GB, free: 296.1 MB / 1.139 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007227/2.176, allocations: 4.279 MB / 1.826 GB, free: 291.9 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/2.176, allocations: 170.5 kB / 1.826 GB, free: 291.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/2.176, allocations: 7.062 kB / 1.826 GB, free: 291.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/2.177, allocations: 90.61 kB / 1.826 GB, free: 291.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/2.178, allocations: 395.4 kB / 1.827 GB, free: 291.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/2.18, allocations: 1.649 MB / 1.828 GB, free: 289.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/2.183, allocations: 0.6359 MB / 1.829 GB, free: 288.8 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/2.184, allocations: 91.5 kB / 1.829 GB, free: 288.7 MB / 1.139 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.00255/2.186, allocations: 2.163 MB / 1.831 GB, free: 286.5 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002144/2.188, allocations: 457.9 kB / 1.831 GB, free: 286.1 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/2.193, allocations: 3.38 MB / 1.835 GB, free: 282.7 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/2.194, allocations: 12 kB / 1.835 GB, free: 282.7 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/2.194, allocations: 0 / 1.835 GB, free: 282.7 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/2.194, allocations: 7.969 kB / 1.835 GB, free: 282.7 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/2.198, allocations: 4.083 MB / 1.839 GB, free: 278.6 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/2.198, allocations: 0 / 1.839 GB, free: 278.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/2.199, allocations: 183.7 kB / 1.839 GB, free: 278.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/2.2, allocations: 80.72 kB / 1.839 GB, free: 278.3 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/2.2, allocations: 43.97 kB / 1.839 GB, free: 278.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/2.201, allocations: 1.65 MB / 1.841 GB, free: 276.5 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/2.201, allocations: 0 / 1.841 GB, free: 276.5 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/2.207, allocations: 3.04 MB / 1.844 GB, free: 273.4 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/2.21, allocations: 1.767 MB / 1.845 GB, free: 271.6 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/2.212, allocations: 35.92 kB / 1.845 GB, free: 271.6 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/2.214, allocations: 418 kB / 1.846 GB, free: 271.1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/2.214, allocations: 92.88 kB / 1.846 GB, free: 271.1 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/2.214, allocations: 66.27 kB / 1.846 GB, free: 271 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.1514/2.366, allocations: 251.5 MB / 2.092 GB, free: 19.45 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.02e-07/2.366, allocations: 0 / 2.092 GB, free: 19.45 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004264/2.37, allocations: 1.377 MB / 2.093 GB, free: 18.14 MB / 1.139 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.008345/2.379, allocations: 4.456 MB / 2.097 GB, free: 13.94 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005413/2.384, allocations: 4.86 MB / 2.102 GB, free: 9.059 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/2.384, allocations: 4 kB / 2.102 GB, free: 9.055 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/2.386, allocations: 1.902 MB / 2.104 GB, free: 7.133 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/2.39, allocations: 0.6028 MB / 2.104 GB, free: 6.555 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.088/4.477, allocations: 1.277 GB / 3.382 GB, free: 42.6 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/4.48, allocations: 3.017 MB / 3.385 GB, free: 39.58 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003943/4.484, allocations: 1.685 MB / 3.387 GB, free: 38.06 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003566/4.487, allocations: 2.357 MB / 3.389 GB, free: 35.71 MB / 1.154 GB Notification: Performance of SimCode: time 6.31e-07/4.487, allocations: 0 / 3.389 GB, free: 35.71 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9637/5.451, allocations: 276 MB / 3.658 GB, free: 208.4 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/19.16, allocations: 15.88 kB / 3.658 GB, free: 208.4 MB / 1.154 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