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.009497/0.009497, allocations: 99.83 kB / 15.73 MB, free: 6.043 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.001864/0.001864, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.942/2.942, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.84 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3609, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01023/0.3712, allocations: 6.996 MB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9885/1.36, allocations: 155.6 MB / 1.366 GB, free: 4.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/1.362, allocations: 24.5 kB / 1.366 GB, free: 4.562 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006869/1.369, allocations: 1.82 MB / 1.368 GB, free: 3.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004193/1.373, allocations: 0.8759 MB / 1.369 GB, free: 3.301 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004382/1.377, allocations: 1.033 MB / 1.37 GB, free: 2.754 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008246/1.386, allocations: 3.669 MB / 1.373 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/1.388, allocations: 0.914 MB / 1.374 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/1.392, allocations: 1.201 MB / 1.375 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002996/1.395, allocations: 1.07 MB / 1.376 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001025/1.396, allocations: 199.5 kB / 1.377 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005775/1.402, allocations: 2.242 MB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002221/1.404, allocations: 1.421 MB / 1.38 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003773/1.408, allocations: 1.511 MB / 1.382 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/1.419, allocations: 5.682 MB / 1.387 GB, free: 8.641 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/1.42, allocations: 1.406 kB / 1.387 GB, free: 8.641 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.735e-06/1.42, allocations: 0 / 1.387 GB, free: 8.641 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002176/1.42, allocations: 0 / 1.387 GB, free: 8.641 MB / 1.076 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.01564/1.435, allocations: 4.205 MB / 1.391 GB, free: 5.801 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.435, allocations: 10.19 kB / 1.391 GB, free: 5.801 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005993/1.436, allocations: 187.1 kB / 1.392 GB, free: 5.652 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/1.439, allocations: 354.4 kB / 1.392 GB, free: 5.469 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09122/1.53, allocations: 87.72 MB / 1.478 GB, free: 2.301 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/1.53, allocations: 114.4 kB / 1.478 GB, free: 2.188 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008119/1.531, allocations: 152 kB / 1.478 GB, free: 2.039 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004133/1.535, allocations: 1.538 MB / 1.479 GB, free: 452 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/1.535, allocations: 0 / 1.479 GB, free: 452 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/1.536, allocations: 56 kB / 1.479 GB, free: 396 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/1.536, allocations: 28 kB / 1.479 GB, free: 368 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/1.539, allocations: 1.61 MB / 1.481 GB, free: 14.74 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02963/1.569, allocations: 24.02 MB / 1.504 GB, free: 6.547 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/1.572, allocations: 1.445 MB / 1.506 GB, free: 5.098 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/1.573, allocations: 0.8862 MB / 1.507 GB, free: 4.211 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/1.573, allocations: 33.19 kB / 1.507 GB, free: 4.176 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001753/1.575, allocations: 0.9538 MB / 1.508 GB, free: 3.211 MB / 1.186 GB Notification: Performance of pre-optimization done (n=104): time 5.25e-06/1.575, allocations: 3.984 kB / 1.508 GB, free: 3.207 MB / 1.186 GB Notification: Performance of matching and sorting (n=104): time 0.00696/1.582, allocations: 2.749 MB / 1.51 GB, free: 452 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002432/1.582, allocations: 332.2 kB / 1.511 GB, free: 68 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1175/1.7, allocations: 99.68 MB / 1.608 GB, free: 12.35 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005566/1.701, allocations: 61.7 kB / 1.608 GB, free: 12.28 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.703, allocations: 1.1 MB / 1.609 GB, free: 11.17 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000633/1.703, allocations: 331.2 kB / 1.609 GB, free: 10.84 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/1.705, allocations: 363.4 kB / 1.61 GB, free: 10.48 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.705, allocations: 301.1 kB / 1.61 GB, free: 10.18 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/1.707, allocations: 1.191 MB / 1.611 GB, free: 8.992 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/1.709, allocations: 1.416 MB / 1.613 GB, free: 7.52 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004613/1.714, allocations: 2.594 MB / 1.615 GB, free: 4.871 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-05/1.714, allocations: 7.625 kB / 1.615 GB, free: 4.867 MB / 1.295 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008396/1.723, allocations: 3.207 MB / 1.618 GB, free: 1.645 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/1.723, allocations: 155.6 kB / 1.618 GB, free: 1.488 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.723, allocations: 11.94 kB / 1.618 GB, free: 1.477 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.728e-05/1.723, allocations: 8 kB / 1.618 GB, free: 1.469 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.724, allocations: 315.5 kB / 1.619 GB, free: 1.16 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.391e-05/1.724, allocations: 10.34 kB / 1.619 GB, free: 1.152 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/1.727, allocations: 325.7 kB / 1.619 GB, free: 0.832 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/1.728, allocations: 67.97 kB / 1.619 GB, free: 0.7656 MB / 1.295 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.002554/1.73, allocations: 1.043 MB / 1.62 GB, free: 15.71 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/1.732, allocations: 236.9 kB / 1.62 GB, free: 15.47 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/1.737, allocations: 2.516 MB / 1.623 GB, free: 12.95 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/1.737, allocations: 8 kB / 1.623 GB, free: 12.94 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/1.737, allocations: 0 / 1.623 GB, free: 12.94 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.737, allocations: 15.97 kB / 1.623 GB, free: 12.92 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/1.742, allocations: 2.013 MB / 1.625 GB, free: 10.86 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.742, allocations: 0 / 1.625 GB, free: 10.86 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008028/1.743, allocations: 155.8 kB / 1.625 GB, free: 10.71 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/1.743, allocations: 7.984 kB / 1.625 GB, free: 10.7 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/1.743, allocations: 39.97 kB / 1.625 GB, free: 10.66 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/1.743, allocations: 4 kB / 1.625 GB, free: 10.66 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.743, allocations: 3.984 kB / 1.625 GB, free: 10.65 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005246/1.749, allocations: 2.331 MB / 1.627 GB, free: 8.293 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/1.751, allocations: 0.8019 MB / 1.628 GB, free: 7.469 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007678/1.752, allocations: 31.98 kB / 1.628 GB, free: 7.438 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/1.754, allocations: 179.9 kB / 1.628 GB, free: 7.262 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.754, allocations: 88.88 kB / 1.628 GB, free: 7.176 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.754, allocations: 51.97 kB / 1.628 GB, free: 7.125 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.07632/1.83, allocations: 79.56 MB / 1.706 GB, free: 7.543 MB / 1.389 GB Notification: Performance of sort global known variables: time 4.01e-07/1.83, allocations: 0 / 1.706 GB, free: 7.543 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.005399/1.836, allocations: 1.081 MB / 1.707 GB, free: 6.461 MB / 1.389 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.009519/1.845, allocations: 3.733 MB / 1.711 GB, free: 2.875 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.005558/1.851, allocations: 3.548 MB / 1.714 GB, free: 15.32 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.851, allocations: 0 / 1.714 GB, free: 15.32 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/1.853, allocations: 1.528 MB / 1.716 GB, free: 13.78 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.857, allocations: 419.8 kB / 1.716 GB, free: 13.39 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.14/2.997, allocations: 412.7 MB / 2.119 GB, free: 260.4 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/2.998, allocations: 1.778 MB / 2.121 GB, free: 258.6 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.002587/3.001, allocations: 0.7694 MB / 2.122 GB, free: 257.9 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/3.003, allocations: 1.144 MB / 2.123 GB, free: 256.8 MB / 1.482 GB Notification: Performance of SimCode: time 1.042e-06/3.003, allocations: 0 / 2.123 GB, free: 256.8 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2266/3.23, allocations: 113.3 MB / 2.233 GB, free: 144.7 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/16.63, allocations: 3.938 kB / 2.233 GB, free: 144.7 MB / 1.482 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 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.mat","/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