Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_11_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.007413/0.007419, allocations: 99.92 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.002048/0.002048, allocations: 195.1 kB / 16.68 MB, free: 5.93 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 60.09 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6726, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009082/0.6818, allocations: 6.991 MB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.8574, allocations: 155.6 MB / 1.379 GB, free: 14.79 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.8585, allocations: 27.88 kB / 1.379 GB, free: 14.77 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004612/0.8631, allocations: 1.81 MB / 1.381 GB, free: 12.95 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.8656, allocations: 0.8798 MB / 1.382 GB, free: 12.07 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.868, allocations: 1.039 MB / 1.383 GB, free: 11.04 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.8715, allocations: 3.665 MB / 1.386 GB, free: 7.363 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.8728, allocations: 0.9212 MB / 1.387 GB, free: 6.387 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.8742, allocations: 1.188 MB / 1.388 GB, free: 5.195 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.8755, allocations: 1.066 MB / 1.389 GB, free: 4.125 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.8759, allocations: 200 kB / 1.389 GB, free: 3.93 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.8793, allocations: 2.243 MB / 1.392 GB, free: 1.684 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.8806, allocations: 1.423 MB / 1.393 GB, free: 264 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.8821, allocations: 1.508 MB / 1.395 GB, free: 14.74 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005955/0.8881, allocations: 5.712 MB / 1.4 GB, free: 9.012 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.8881, allocations: 3.938 kB / 1.4 GB, free: 9.008 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8881, allocations: 0 / 1.4 GB, free: 9.008 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.406e-05/0.8882, allocations: 0 / 1.4 GB, free: 9.008 MB / 1.123 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.007093/0.8953, allocations: 4.298 MB / 1.404 GB, free: 4.633 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.8953, allocations: 19.95 kB / 1.404 GB, free: 4.613 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002329/0.8955, allocations: 186.2 kB / 1.405 GB, free: 4.422 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.8966, allocations: 362.8 kB / 1.405 GB, free: 4.066 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09391/0.9906, allocations: 87.75 MB / 1.491 GB, free: 12.21 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.9907, allocations: 118.4 kB / 1.491 GB, free: 12.09 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.9909, allocations: 148 kB / 1.491 GB, free: 11.95 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.9937, allocations: 1.545 MB / 1.492 GB, free: 10.34 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.9937, allocations: 4 kB / 1.492 GB, free: 10.34 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.9939, allocations: 48 kB / 1.492 GB, free: 10.29 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.9939, allocations: 28 kB / 1.492 GB, free: 10.27 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.9966, allocations: 1.609 MB / 1.494 GB, free: 8.648 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0242/1.021, allocations: 24.05 MB / 1.517 GB, free: 432 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/1.023, allocations: 1.432 MB / 1.519 GB, free: 14.98 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/1.025, allocations: 0.894 MB / 1.52 GB, free: 14.08 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-05/1.025, allocations: 37.17 kB / 1.52 GB, free: 14.05 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/1.026, allocations: 0.9498 MB / 1.521 GB, free: 13.09 MB / 1.248 GB Notification: Performance of pre-optimization done (n=104): time 7.414e-06/1.026, allocations: 7.984 kB / 1.521 GB, free: 13.08 MB / 1.248 GB Notification: Performance of matching and sorting (n=104): time 0.005209/1.032, allocations: 2.76 MB / 1.523 GB, free: 10.31 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002477/1.032, allocations: 326.5 kB / 1.524 GB, free: 9.941 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5847/1.617, allocations: 99.68 MB / 1.621 GB, free: 298.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/1.617, allocations: 62.55 kB / 1.621 GB, free: 298.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008093/1.618, allocations: 1.111 MB / 1.622 GB, free: 297.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.618, allocations: 355.5 kB / 1.623 GB, free: 297.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004279/1.618, allocations: 357.2 kB / 1.623 GB, free: 297.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.293e-05/1.619, allocations: 308.9 kB / 1.623 GB, free: 296.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.62, allocations: 1.192 MB / 1.624 GB, free: 295.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/1.621, allocations: 1.419 MB / 1.626 GB, free: 294.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/1.624, allocations: 2.589 MB / 1.628 GB, free: 292.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.624, allocations: 4 kB / 1.628 GB, free: 292.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004045/1.628, allocations: 3.231 MB / 1.631 GB, free: 289.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.628, allocations: 145.6 kB / 1.632 GB, free: 288.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.628, allocations: 7.984 kB / 1.632 GB, free: 288.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/1.628, allocations: 8 kB / 1.632 GB, free: 288.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.629, allocations: 311.5 kB / 1.632 GB, free: 288.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.629, allocations: 8 kB / 1.632 GB, free: 288.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.631, allocations: 338.9 kB / 1.632 GB, free: 288.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.631, allocations: 67.97 kB / 1.632 GB, free: 288.2 MB / 1.279 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.0009296/1.632, allocations: 1.039 MB / 1.633 GB, free: 287.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/1.632, allocations: 248 kB / 1.634 GB, free: 286.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/1.635, allocations: 2.521 MB / 1.636 GB, free: 284.4 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.635, allocations: 15.16 kB / 1.636 GB, free: 284.4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.635, allocations: 0 / 1.636 GB, free: 284.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.635, allocations: 3.984 kB / 1.636 GB, free: 284.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/1.637, allocations: 2.019 MB / 1.638 GB, free: 282.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.637, allocations: 0 / 1.638 GB, free: 282.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/1.637, allocations: 155.7 kB / 1.638 GB, free: 282.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/1.638, allocations: 10.23 kB / 1.638 GB, free: 282.2 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/1.638, allocations: 38.66 kB / 1.638 GB, free: 282.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/1.638, allocations: 7.406 kB / 1.638 GB, free: 282.2 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.638, allocations: 3.984 kB / 1.638 GB, free: 282.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/1.64, allocations: 2.336 MB / 1.64 GB, free: 279.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008369/1.641, allocations: 0.815 MB / 1.641 GB, free: 279 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/1.642, allocations: 35.75 kB / 1.641 GB, free: 278.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.643, allocations: 191.9 kB / 1.641 GB, free: 278.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.643, allocations: 80.89 kB / 1.642 GB, free: 278.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/1.643, allocations: 51.97 kB / 1.642 GB, free: 278.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.04875/1.692, allocations: 79.56 MB / 1.719 GB, free: 199 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.82e-07/1.692, allocations: 3.906 kB / 1.719 GB, free: 199 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002219/1.694, allocations: 1.095 MB / 1.72 GB, free: 198 MB / 1.279 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.005689/1.7, allocations: 3.756 MB / 1.724 GB, free: 194.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003126/1.703, allocations: 3.555 MB / 1.727 GB, free: 190.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.703, allocations: 0 / 1.727 GB, free: 190.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/1.704, allocations: 1.532 MB / 1.729 GB, free: 189.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.706, allocations: 413.4 kB / 1.729 GB, free: 188.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8425/2.548, allocations: 412.8 MB / 2.133 GB, free: 0.5506 GB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/2.55, allocations: 1.784 MB / 2.134 GB, free: 0.5499 GB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.002291/2.553, allocations: 0.7662 MB / 2.135 GB, free: 0.5498 GB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/2.554, allocations: 1.148 MB / 2.136 GB, free: 0.5494 GB / 1.498 GB Notification: Performance of SimCode: time 7.61e-07/2.554, allocations: 0 / 2.136 GB, free: 0.5494 GB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1999/2.754, allocations: 112.2 MB / 2.246 GB, free: 466.1 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/15.2, allocations: 7.844 kB / 2.246 GB, free: 466.1 MB / 1.498 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches