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.007037/0.007037, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001506/0.001506, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.32/2.32, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.89 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2334, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.00681/0.2403, allocations: 5.768 MB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.3922, allocations: 155.5 MB / 1.245 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009533/0.3932, allocations: 23.88 kB / 1.245 GB, free: 104 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003956/0.3972, allocations: 1.792 MB / 1.247 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.3993, allocations: 0.7962 MB / 1.247 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.4014, allocations: 1.02 MB / 1.248 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002935/0.4044, allocations: 3.467 MB / 1.252 GB, free: 9.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.4055, allocations: 0.9556 MB / 1.253 GB, free: 8.023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.4069, allocations: 1.169 MB / 1.254 GB, free: 6.852 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.408, allocations: 1.039 MB / 1.255 GB, free: 5.809 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.4083, allocations: 200 kB / 1.255 GB, free: 5.613 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.4114, allocations: 2.247 MB / 1.257 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.4125, allocations: 1.419 MB / 1.259 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.4137, allocations: 1.461 MB / 1.26 GB, free: 484 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.5558/0.9695, allocations: 5.636 MB / 1.266 GB, free: 9.289 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9696, allocations: 1.406 kB / 1.266 GB, free: 9.289 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9696, allocations: 0.9062 kB / 1.266 GB, free: 9.289 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.868e-05/0.9696, allocations: 0 / 1.266 GB, free: 9.289 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.01009/0.9797, allocations: 4.282 MB / 1.27 GB, free: 7.508 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.9798, allocations: 10.23 kB / 1.27 GB, free: 7.508 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002566/0.98, allocations: 188.5 kB / 1.27 GB, free: 7.465 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.9816, allocations: 360.2 kB / 1.27 GB, free: 7.297 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1228/1.104, allocations: 91.68 MB / 1.36 GB, free: 96 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/1.105, allocations: 111.5 kB / 1.36 GB, free: 15.98 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005961/1.105, allocations: 153 kB / 1.36 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/1.108, allocations: 1.542 MB / 1.362 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/1.108, allocations: 0 / 1.362 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/1.109, allocations: 52 kB / 1.362 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/1.109, allocations: 33.56 kB / 1.362 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/1.111, allocations: 1.608 MB / 1.363 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/1.135, allocations: 23.65 MB / 1.386 GB, free: 4.957 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/1.138, allocations: 1.441 MB / 1.388 GB, free: 3.531 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/1.139, allocations: 0.891 MB / 1.389 GB, free: 2.633 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.364e-05/1.139, allocations: 37.97 kB / 1.389 GB, free: 2.605 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/1.141, allocations: 0.9574 MB / 1.39 GB, free: 1.648 MB / 1.061 GB Notification: Performance of pre-optimization done (n=104): time 3.647e-06/1.141, allocations: 0 / 1.39 GB, free: 1.648 MB / 1.061 GB Notification: Performance of matching and sorting (n=104): time 0.005858/1.147, allocations: 2.763 MB / 1.392 GB, free: 14.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/1.147, allocations: 326.5 kB / 1.393 GB, free: 14.51 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1071/1.254, allocations: 99.69 MB / 1.49 GB, free: 10.82 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004703/1.254, allocations: 61.7 kB / 1.49 GB, free: 10.75 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/1.256, allocations: 1.109 MB / 1.491 GB, free: 9.641 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/1.257, allocations: 350.8 kB / 1.491 GB, free: 9.305 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009659/1.258, allocations: 364.3 kB / 1.492 GB, free: 8.941 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/1.258, allocations: 302.1 kB / 1.492 GB, free: 8.645 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/1.26, allocations: 1.192 MB / 1.493 GB, free: 7.453 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.262, allocations: 1.419 MB / 1.495 GB, free: 5.984 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/1.265, allocations: 2.584 MB / 1.497 GB, free: 3.363 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/1.265, allocations: 4.062 kB / 1.497 GB, free: 3.363 MB / 1.17 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006184/1.272, allocations: 3.225 MB / 1.5 GB, free: 148 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/1.272, allocations: 155.2 kB / 1.501 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.272, allocations: 4.875 kB / 1.501 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/1.272, allocations: 8.938 kB / 1.501 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.273, allocations: 317.5 kB / 1.501 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.902e-05/1.273, allocations: 8 kB / 1.501 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/1.277, allocations: 332.1 kB / 1.501 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.277, allocations: 70.59 kB / 1.501 GB, free: 15.29 MB / 1.186 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.002985/1.28, allocations: 1.038 MB / 1.502 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002246/1.282, allocations: 250.3 kB / 1.502 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/1.287, allocations: 2.519 MB / 1.505 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.287, allocations: 8.875 kB / 1.505 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.287, allocations: 0 / 1.505 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.287, allocations: 12.72 kB / 1.505 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/1.292, allocations: 2.017 MB / 1.507 GB, free: 9.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.292, allocations: 1 kB / 1.507 GB, free: 9.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/1.293, allocations: 158.7 kB / 1.507 GB, free: 9.285 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/1.293, allocations: 5 kB / 1.507 GB, free: 9.281 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.293, allocations: 43.25 kB / 1.507 GB, free: 9.242 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.293, allocations: 4 kB / 1.507 GB, free: 9.238 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.293, allocations: 1.281 kB / 1.507 GB, free: 9.238 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00473/1.298, allocations: 2.348 MB / 1.509 GB, free: 6.875 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/1.3, allocations: 0.815 MB / 1.51 GB, free: 6.039 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.301, allocations: 31.52 kB / 1.51 GB, free: 6.012 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.303, allocations: 185.8 kB / 1.51 GB, free: 5.832 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.303, allocations: 81.77 kB / 1.51 GB, free: 5.754 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.303, allocations: 51.97 kB / 1.511 GB, free: 5.703 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.07601/1.379, allocations: 79.56 MB / 1.588 GB, free: 6.129 MB / 1.264 GB Notification: Performance of sort global known variables: time 4.71e-07/1.379, allocations: 1 kB / 1.588 GB, free: 6.129 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004957/1.384, allocations: 1.066 MB / 1.589 GB, free: 5.066 MB / 1.264 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.009345/1.394, allocations: 3.764 MB / 1.593 GB, free: 1.559 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004854/1.399, allocations: 3.555 MB / 1.596 GB, free: 14.03 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.399, allocations: 0.875 kB / 1.596 GB, free: 14.03 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/1.4, allocations: 1.524 MB / 1.598 GB, free: 12.51 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.404, allocations: 395.1 kB / 1.598 GB, free: 12.14 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8647/2.269, allocations: 412.8 MB / 2.001 GB, free: 450.6 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/2.27, allocations: 1.786 MB / 2.003 GB, free: 448.8 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002476/2.273, allocations: 0.7789 MB / 2.004 GB, free: 448.1 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002235/2.275, allocations: 1.147 MB / 2.005 GB, free: 447 MB / 1.467 GB Notification: Performance of SimCode: time 6.42e-07/2.275, allocations: 0 / 2.005 GB, free: 447 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2094/2.485, allocations: 111.5 MB / 2.114 GB, free: 336.6 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/15.14, allocations: 14.59 kB / 2.114 GB, free: 336.5 MB / 1.467 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