Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.139/3.139, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 62.55 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3444, allocations: 179 MB / 1.345 GB, free: 428 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.01024/0.3547, allocations: 7.094 MB / 1.352 GB, free: 9.281 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.212/0.5667, allocations: 158.9 MB / 1.507 GB, free: 9.797 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.5684, allocations: 31.75 kB / 1.507 GB, free: 9.766 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006176/0.5746, allocations: 2.004 MB / 1.509 GB, free: 7.754 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.5786, allocations: 0.9148 MB / 1.51 GB, free: 6.84 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.5818, allocations: 1.036 MB / 1.511 GB, free: 5.809 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004795/0.5866, allocations: 2.683 MB / 1.514 GB, free: 3.113 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.5884, allocations: 0.6456 MB / 1.515 GB, free: 2.426 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.5904, allocations: 0.9346 MB / 1.515 GB, free: 1.488 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.5924, allocations: 0.9804 MB / 1.516 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000492/0.5929, allocations: 184 kB / 1.517 GB, free: 332 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006043/0.599, allocations: 2.781 MB / 1.519 GB, free: 13.54 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.6008, allocations: 1.247 MB / 1.521 GB, free: 12.29 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.6029, allocations: 1.434 MB / 1.522 GB, free: 10.85 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.6144, allocations: 5.572 MB / 1.527 GB, free: 5.258 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6145, allocations: 4 kB / 1.527 GB, free: 5.254 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.026e-06/0.6145, allocations: 0 / 1.527 GB, free: 5.254 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001404/0.6146, allocations: 4 kB / 1.527 GB, free: 5.25 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01178/0.6264, allocations: 4.028 MB / 1.531 GB, free: 1.168 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6264, allocations: 12.03 kB / 1.531 GB, free: 1.156 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.904e-05/0.6265, allocations: 34.73 kB / 1.531 GB, free: 1.121 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002852/0.6268, allocations: 194.3 kB / 1.532 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.6296, allocations: 442.8 kB / 1.532 GB, free: 500 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8816/1.511, allocations: 87.63 MB / 1.618 GB, free: 259.7 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/1.511, allocations: 106.3 kB / 1.618 GB, free: 259.6 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005651/1.512, allocations: 132.2 kB / 1.618 GB, free: 259.6 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004155/1.516, allocations: 1.359 MB / 1.619 GB, free: 259 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/1.516, allocations: 2.109 kB / 1.619 GB, free: 259 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/1.516, allocations: 55.03 kB / 1.619 GB, free: 258.9 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/1.516, allocations: 31.91 kB / 1.619 GB, free: 258.9 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/1.52, allocations: 1.508 MB / 1.621 GB, free: 258.6 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02912/1.549, allocations: 23.91 MB / 1.644 GB, free: 252.6 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/1.552, allocations: 1.059 MB / 1.645 GB, free: 252.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008308/1.553, allocations: 416.8 kB / 1.645 GB, free: 252 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/1.553, allocations: 35.92 kB / 1.645 GB, free: 252 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/1.554, allocations: 0.6629 MB / 1.646 GB, free: 251.5 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 2.595e-06/1.554, allocations: 0 / 1.646 GB, free: 251.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.004654/1.558, allocations: 1.674 MB / 1.648 GB, free: 250 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/1.558, allocations: 194.2 kB / 1.648 GB, free: 249.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07793/1.636, allocations: 99.44 MB / 1.745 GB, free: 151 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003602/1.637, allocations: 49.7 kB / 1.745 GB, free: 150.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/1.638, allocations: 1.076 MB / 1.746 GB, free: 149.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004865/1.639, allocations: 341 kB / 1.746 GB, free: 149.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005905/1.639, allocations: 242.9 kB / 1.747 GB, free: 149.4 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/1.639, allocations: 353.9 kB / 1.747 GB, free: 149 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008445/1.64, allocations: 498.2 kB / 1.748 GB, free: 148.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008754/1.641, allocations: 0.6245 MB / 1.748 GB, free: 147.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/1.642, allocations: 1.002 MB / 1.749 GB, free: 146.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/1.642, allocations: 7.547 kB / 1.749 GB, free: 146.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003987/1.646, allocations: 1.519 MB / 1.751 GB, free: 145.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.646, allocations: 4 kB / 1.751 GB, free: 145.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.646, allocations: 0 / 1.751 GB, free: 145.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/1.647, allocations: 88.83 kB / 1.751 GB, free: 145.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009284/1.648, allocations: 235.6 kB / 1.751 GB, free: 145 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/1.65, allocations: 1.53 MB / 1.752 GB, free: 143.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.653, allocations: 270 kB / 1.753 GB, free: 143.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.653, allocations: 51.97 kB / 1.753 GB, free: 143 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00166/1.654, allocations: 0.823 MB / 1.754 GB, free: 142.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/1.656, allocations: 238.3 kB / 1.754 GB, free: 142 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/1.659, allocations: 1.615 MB / 1.755 GB, free: 140.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.659, allocations: 12.66 kB / 1.755 GB, free: 140.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.659, allocations: 0 / 1.755 GB, free: 140.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.659, allocations: 3.984 kB / 1.755 GB, free: 140.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/1.662, allocations: 1.957 MB / 1.757 GB, free: 138.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.662, allocations: 4 kB / 1.757 GB, free: 138.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/1.663, allocations: 179.8 kB / 1.757 GB, free: 138.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/1.664, allocations: 72.72 kB / 1.757 GB, free: 138.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-05/1.664, allocations: 38.88 kB / 1.758 GB, free: 138 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/1.665, allocations: 1.551 MB / 1.759 GB, free: 136.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.665, allocations: 0 / 1.759 GB, free: 136.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/1.668, allocations: 1.377 MB / 1.76 GB, free: 135 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.67, allocations: 0.6973 MB / 1.761 GB, free: 134.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008423/1.671, allocations: 24 kB / 1.761 GB, free: 134.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.673, allocations: 185.4 kB / 1.761 GB, free: 134.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/1.673, allocations: 92.83 kB / 1.761 GB, free: 134 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/1.673, allocations: 47.97 kB / 1.761 GB, free: 133.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.05258/1.725, allocations: 79.42 MB / 1.839 GB, free: 54.49 MB / 1.295 GB Notification: Performance of sort global known variables: time 3e-07/1.725, allocations: 3.719 kB / 1.839 GB, free: 54.49 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003448/1.729, allocations: 1.035 MB / 1.84 GB, free: 53.46 MB / 1.295 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007116/1.736, allocations: 2.798 MB / 1.843 GB, free: 50.84 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002275/1.738, allocations: 1.194 MB / 1.844 GB, free: 49.64 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.738, allocations: 4.312 kB / 1.844 GB, free: 49.63 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.739, allocations: 0.6251 MB / 1.844 GB, free: 48.99 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/1.742, allocations: 421.6 kB / 1.845 GB, free: 48.59 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.164/2.906, allocations: 407.1 MB / 2.242 GB, free: 0.5885 GB / 1.639 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/2.908, allocations: 1.731 MB / 2.244 GB, free: 0.5877 GB / 1.639 GB Notification: Performance of simCode: alias equations: time 0.003043/2.911, allocations: 0.7743 MB / 2.245 GB, free: 0.5876 GB / 1.639 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002589/2.914, allocations: 1.115 MB / 2.246 GB, free: 0.5869 GB / 1.639 GB Notification: Performance of SimCode: time 1.774e-06/2.914, allocations: 0 / 2.246 GB, free: 0.5869 GB / 1.639 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1623/3.076, allocations: 114.3 MB / 2.358 GB, free: 0.4999 GB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.68/21.76, allocations: 11.92 kB / 2.358 GB, free: 0.4999 GB / 1.639 GB " [Timeout remaining time 278] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 28.998547020019032]