Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_9_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.001223/0.001223, 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.001292/0.001292, allocations: 193.2 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.359/2.359, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5905/0.5918, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006115/0.598, allocations: 5.764 MB / 0.9554 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1512/0.7492, allocations: 155.5 MB / 1.107 GB, free: 64 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.7504, allocations: 27.81 kB / 1.107 GB, free: 36 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0042/0.7546, allocations: 1.774 MB / 1.109 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.7569, allocations: 0.7775 MB / 1.11 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.7592, allocations: 1.017 MB / 1.111 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003221/0.7625, allocations: 3.448 MB / 1.114 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.7637, allocations: 0.9556 MB / 1.115 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.7653, allocations: 1.149 MB / 1.116 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.7668, allocations: 1.043 MB / 1.117 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.7672, allocations: 200 kB / 1.117 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.7704, allocations: 2.208 MB / 1.119 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.7715, allocations: 1.427 MB / 1.121 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.7732, allocations: 1.465 MB / 1.122 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006102/0.7793, allocations: 5.552 MB / 1.128 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7794, allocations: 0 / 1.128 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7794, allocations: 0 / 1.128 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.526e-05/0.7795, allocations: 0 / 1.128 GB, free: 10.94 MB / 0.8887 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.007488/0.787, allocations: 4.179 MB / 1.132 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.787, allocations: 12.03 kB / 1.132 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/0.7872, allocations: 186.2 kB / 1.132 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.7883, allocations: 341.2 kB / 1.132 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07624/0.8646, allocations: 87.7 MB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/0.8647, allocations: 114.4 kB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.8649, allocations: 148 kB / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.8673, allocations: 1.541 MB / 1.22 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8674, allocations: 0 / 1.22 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.8675, allocations: 56 kB / 1.22 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.8675, allocations: 28 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.8699, allocations: 1.617 MB / 1.221 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02073/0.8907, allocations: 23.67 MB / 1.244 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.893, allocations: 1.446 MB / 1.246 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.8941, allocations: 0.8862 MB / 1.247 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.847e-05/0.8942, allocations: 41.02 kB / 1.247 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4159/1.31, allocations: 0.9419 MB / 1.248 GB, free: 287 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 4.508e-06/1.31, allocations: 0.9375 kB / 1.248 GB, free: 287 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.005447/1.316, allocations: 2.754 MB / 1.25 GB, free: 286.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000206/1.316, allocations: 335.1 kB / 1.251 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08508/1.401, allocations: 99.69 MB / 1.348 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003234/1.401, allocations: 61.7 kB / 1.348 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009058/1.402, allocations: 1.095 MB / 1.349 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/1.402, allocations: 338.9 kB / 1.35 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/1.403, allocations: 363.4 kB / 1.35 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.389e-05/1.403, allocations: 301.1 kB / 1.35 GB, free: 200.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/1.404, allocations: 1.19 MB / 1.351 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/1.406, allocations: 1.425 MB / 1.353 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/1.408, allocations: 2.586 MB / 1.355 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.408, allocations: 3.25 kB / 1.355 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004365/1.413, allocations: 3.207 MB / 1.358 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.413, allocations: 149.6 kB / 1.359 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.413, allocations: 4 kB / 1.359 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/1.413, allocations: 14.62 kB / 1.359 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.414, allocations: 307.5 kB / 1.359 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/1.414, allocations: 12 kB / 1.359 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.416, allocations: 324.6 kB / 1.359 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/1.416, allocations: 67.97 kB / 1.359 GB, free: 190.7 MB / 0.9981 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.001116/1.417, allocations: 1.044 MB / 1.36 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004859/1.417, allocations: 232.9 kB / 1.36 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/1.42, allocations: 2.527 MB / 1.363 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/1.421, allocations: 12 kB / 1.363 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.421, allocations: 0 / 1.363 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/1.421, allocations: 3.984 kB / 1.363 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/1.422, allocations: 2.023 MB / 1.365 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/1.422, allocations: 0 / 1.365 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/1.423, allocations: 163.8 kB / 1.365 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.423, allocations: 4 kB / 1.365 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/1.423, allocations: 34.86 kB / 1.365 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.423, allocations: 4 kB / 1.365 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.423, allocations: 3.969 kB / 1.365 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/1.426, allocations: 2.338 MB / 1.367 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009012/1.427, allocations: 0.802 MB / 1.368 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/1.427, allocations: 23.75 kB / 1.368 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.428, allocations: 193.3 kB / 1.368 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/1.428, allocations: 80.89 kB / 1.368 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/1.429, allocations: 51.97 kB / 1.369 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04892/1.477, allocations: 79.56 MB / 1.446 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.41e-07/1.477, allocations: 0 / 1.446 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00256/1.48, allocations: 1.057 MB / 1.447 GB, free: 100.6 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,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.005538/1.486, allocations: 3.745 MB / 1.451 GB, free: 97.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00423/1.49, allocations: 3.979 MB / 1.455 GB, free: 93.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.49, allocations: 0 / 1.455 GB, free: 93.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.491, allocations: 1.528 MB / 1.456 GB, free: 91.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.493, allocations: 401.6 kB / 1.457 GB, free: 91.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7007/2.194, allocations: 416.8 MB / 1.864 GB, free: 231.2 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/2.196, allocations: 1.775 MB / 1.865 GB, free: 229.4 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003268/2.199, allocations: 0.7796 MB / 1.866 GB, free: 228.7 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/2.201, allocations: 1.144 MB / 1.867 GB, free: 227.6 MB / 1.123 GB Notification: Performance of SimCode: time 7.42e-07/2.201, allocations: 0 / 1.867 GB, free: 227.6 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1954/2.396, allocations: 110.8 MB / 1.976 GB, free: 117.9 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.866/11.26, allocations: 11.5 kB / 1.976 GB, free: 117.9 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches