Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.001693/0.001693, 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.002283/0.002283, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.33 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2671, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007791/0.275, allocations: 6.99 MB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.4291, allocations: 155.6 MB / 1.222 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.4303, allocations: 23.88 kB / 1.222 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004338/0.4347, allocations: 1.821 MB / 1.224 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.4372, allocations: 0.8753 MB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.4396, allocations: 1.028 MB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.4431, allocations: 3.645 MB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.4444, allocations: 0.929 MB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.4461, allocations: 1.181 MB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.4477, allocations: 1.068 MB / 1.233 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005159/0.4482, allocations: 200 kB / 1.233 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.4517, allocations: 2.216 MB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.4529, allocations: 1.419 MB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.455, allocations: 1.5 MB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006315/0.4613, allocations: 5.618 MB / 1.243 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4613, allocations: 0 / 1.243 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4614, allocations: 0 / 1.243 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001114/0.4615, allocations: 0 / 1.243 GB, free: 5.664 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.008537/0.47, allocations: 4.201 MB / 1.248 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4701, allocations: 8.031 kB / 1.248 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002972/0.4704, allocations: 198.1 kB / 1.248 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.4718, allocations: 349.1 kB / 1.248 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5385/1.01, allocations: 87.69 MB / 1.334 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-05/1.01, allocations: 114.4 kB / 1.334 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/1.011, allocations: 148 kB / 1.334 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/1.013, allocations: 1.542 MB / 1.335 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.013, allocations: 3.75 kB / 1.335 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.013, allocations: 56 kB / 1.336 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/1.013, allocations: 31.94 kB / 1.336 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/1.015, allocations: 1.609 MB / 1.337 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/1.032, allocations: 24.08 MB / 1.361 GB, free: 100.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/1.034, allocations: 1.444 MB / 1.362 GB, free: 99.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/1.035, allocations: 0.8902 MB / 1.363 GB, free: 98.58 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/1.035, allocations: 33.17 kB / 1.363 GB, free: 98.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/1.036, allocations: 0.9553 MB / 1.364 GB, free: 97.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.106e-06/1.036, allocations: 0 / 1.364 GB, free: 97.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004068/1.041, allocations: 2.749 MB / 1.367 GB, free: 94.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.041, allocations: 326.5 kB / 1.367 GB, free: 94.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08006/1.121, allocations: 99.68 MB / 1.464 GB, free: 10.74 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003191/1.121, allocations: 57.7 kB / 1.464 GB, free: 10.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/1.122, allocations: 1.101 MB / 1.465 GB, free: 9.562 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/1.123, allocations: 331.2 kB / 1.466 GB, free: 9.234 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004968/1.123, allocations: 367.4 kB / 1.466 GB, free: 8.867 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.513e-05/1.123, allocations: 309.1 kB / 1.466 GB, free: 8.562 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/1.125, allocations: 1.191 MB / 1.468 GB, free: 7.371 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/1.127, allocations: 1.42 MB / 1.469 GB, free: 5.895 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/1.13, allocations: 2.586 MB / 1.471 GB, free: 3.254 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.13, allocations: 0 / 1.471 GB, free: 3.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005122/1.135, allocations: 3.207 MB / 1.475 GB, free: 28 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001638/1.135, allocations: 153.6 kB / 1.475 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.135, allocations: 0.5469 kB / 1.475 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/1.135, allocations: 13.64 kB / 1.475 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.136, allocations: 308 kB / 1.475 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/1.136, allocations: 15.94 kB / 1.475 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/1.138, allocations: 331.1 kB / 1.475 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/1.138, allocations: 74.05 kB / 1.475 GB, free: 15.15 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001422/1.14, allocations: 1.032 MB / 1.476 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006602/1.14, allocations: 240.8 kB / 1.477 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/1.144, allocations: 2.52 MB / 1.479 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.144, allocations: 8 kB / 1.479 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.144, allocations: 3.188 kB / 1.479 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.144, allocations: 11.91 kB / 1.479 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/1.146, allocations: 2.012 MB / 1.481 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.146, allocations: 3.984 kB / 1.481 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/1.147, allocations: 155.8 kB / 1.481 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/1.147, allocations: 8 kB / 1.481 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/1.147, allocations: 43.95 kB / 1.481 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/1.147, allocations: 7.938 kB / 1.481 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.147, allocations: 3.984 kB / 1.481 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/1.151, allocations: 2.327 MB / 1.484 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.152, allocations: 0.802 MB / 1.484 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/1.152, allocations: 35.89 kB / 1.484 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.153, allocations: 184 kB / 1.485 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.154, allocations: 80.89 kB / 1.485 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.154, allocations: 55.91 kB / 1.485 GB, free: 5.516 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.06327/1.217, allocations: 79.56 MB / 1.562 GB, free: 5.93 MB / 1.107 GB Notification: Performance of sort global known variables: time 5.01e-07/1.217, allocations: 8 kB / 1.562 GB, free: 5.922 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002617/1.22, allocations: 1.079 MB / 1.563 GB, free: 4.844 MB / 1.107 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005871/1.226, allocations: 3.734 MB / 1.567 GB, free: 1.293 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005027/1.231, allocations: 3.982 MB / 1.571 GB, free: 13.3 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.231, allocations: 4.062 kB / 1.571 GB, free: 13.3 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/1.232, allocations: 1.532 MB / 1.572 GB, free: 11.75 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.234, allocations: 418.8 kB / 1.573 GB, free: 11.36 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7314/1.966, allocations: 416.8 MB / 1.98 GB, free: 220 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.967, allocations: 1.785 MB / 1.982 GB, free: 218.2 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001854/1.969, allocations: 0.7785 MB / 1.982 GB, free: 217.5 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.97, allocations: 1.139 MB / 1.984 GB, free: 216.4 MB / 1.264 GB Notification: Performance of SimCode: time 5.41e-07/1.97, allocations: 0 / 1.984 GB, free: 216.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1914/2.162, allocations: 111.5 MB / 2.092 GB, free: 106.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.876/11.04, allocations: 17.75 kB / 2.092 GB, free: 106.1 MB / 1.264 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches