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.001438/0.001438, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001639/0.001639, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 179] 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 2.931/2.931, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",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.001996/0.001996, allocations: 67.84 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3194, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008551/0.328, allocations: 6.234 MB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1653/0.4932, allocations: 137 MB / 1.503 GB, free: 14.32 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.4944, allocations: 35.69 kB / 1.503 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004233/0.4986, allocations: 1.895 MB / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.5009, allocations: 0.9182 MB / 1.506 GB, free: 11.47 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.503, allocations: 1.006 MB / 1.507 GB, free: 10.47 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002747/0.5058, allocations: 2.66 MB / 1.51 GB, free: 7.801 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009623/0.5068, allocations: 0.6222 MB / 1.51 GB, free: 7.133 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.5079, allocations: 0.9463 MB / 1.511 GB, free: 6.184 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.509, allocations: 0.8827 MB / 1.512 GB, free: 5.297 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.5093, allocations: 188 kB / 1.512 GB, free: 5.113 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0039/0.5132, allocations: 2.508 MB / 1.515 GB, free: 2.602 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.5142, allocations: 1.247 MB / 1.516 GB, free: 1.352 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.5154, allocations: 1.166 MB / 1.517 GB, free: 184 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006201/0.5216, allocations: 5.56 MB / 1.522 GB, free: 10.6 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5216, allocations: 3.938 kB / 1.522 GB, free: 10.6 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5216, allocations: 0 / 1.522 GB, free: 10.6 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.816e-05/0.5217, allocations: 0 / 1.522 GB, free: 10.6 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.00702/0.5287, allocations: 4.071 MB / 1.526 GB, free: 6.469 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5287, allocations: 19.97 kB / 1.526 GB, free: 6.449 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/0.5289, allocations: 186.3 kB / 1.527 GB, free: 6.258 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.5312, allocations: 442.8 kB / 1.527 GB, free: 5.824 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6703/1.201, allocations: 87.63 MB / 1.613 GB, free: 244 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/1.202, allocations: 101.4 kB / 1.613 GB, free: 244 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/1.202, allocations: 135.4 kB / 1.613 GB, free: 244 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/1.205, allocations: 1.61 MB / 1.614 GB, free: 243.3 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/1.205, allocations: 3.156 kB / 1.614 GB, free: 243.3 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/1.205, allocations: 57.38 kB / 1.614 GB, free: 243.2 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/1.205, allocations: 33.2 kB / 1.614 GB, free: 243.2 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/1.208, allocations: 1.458 MB / 1.616 GB, free: 242.8 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/1.232, allocations: 22.85 MB / 1.638 GB, free: 237.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/1.234, allocations: 1.051 MB / 1.639 GB, free: 237.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006182/1.234, allocations: 412.8 kB / 1.64 GB, free: 237.2 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 7.448e-05/1.234, allocations: 32.39 kB / 1.64 GB, free: 237.2 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009602/1.235, allocations: 0.7554 MB / 1.64 GB, free: 236.9 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 2.955e-06/1.235, allocations: 0 / 1.64 GB, free: 236.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.004145/1.24, allocations: 1.676 MB / 1.642 GB, free: 236.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/1.24, allocations: 201.8 kB / 1.642 GB, free: 236.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07486/1.314, allocations: 99.44 MB / 1.739 GB, free: 141.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002571/1.315, allocations: 49.7 kB / 1.739 GB, free: 141.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00075/1.315, allocations: 1.082 MB / 1.74 GB, free: 140.2 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/1.316, allocations: 338.8 kB / 1.741 GB, free: 139.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/1.316, allocations: 242.8 kB / 1.741 GB, free: 139.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/1.316, allocations: 349.9 kB / 1.741 GB, free: 139.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/1.317, allocations: 490.4 kB / 1.742 GB, free: 138.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007787/1.317, allocations: 0.76 MB / 1.743 GB, free: 138 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/1.319, allocations: 1.005 MB / 1.744 GB, free: 137 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.319, allocations: 3.938 kB / 1.744 GB, free: 137 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002815/1.322, allocations: 1.516 MB / 1.745 GB, free: 135.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.322, allocations: 8 kB / 1.745 GB, free: 135.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.322, allocations: 0 / 1.745 GB, free: 135.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/1.322, allocations: 87.14 kB / 1.745 GB, free: 135.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/1.323, allocations: 235.6 kB / 1.745 GB, free: 135.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/1.324, allocations: 1.52 MB / 1.747 GB, free: 133.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.326, allocations: 286.9 kB / 1.747 GB, free: 133.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/1.326, allocations: 50.7 kB / 1.747 GB, free: 133.2 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.000788/1.327, allocations: 0.8095 MB / 1.748 GB, free: 132.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/1.327, allocations: 238.3 kB / 1.748 GB, free: 132.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/1.33, allocations: 1.623 MB / 1.75 GB, free: 130.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.33, allocations: 12 kB / 1.75 GB, free: 130.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/1.33, allocations: 0 / 1.75 GB, free: 130.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/1.33, allocations: 7.969 kB / 1.75 GB, free: 130.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/1.331, allocations: 1.57 MB / 1.751 GB, free: 129 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.331, allocations: 3.938 kB / 1.751 GB, free: 129 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/1.332, allocations: 179.8 kB / 1.751 GB, free: 128.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/1.332, allocations: 72.78 kB / 1.752 GB, free: 128.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/1.332, allocations: 31.97 kB / 1.752 GB, free: 128.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.333, allocations: 1.56 MB / 1.753 GB, free: 127 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.333, allocations: 0 / 1.753 GB, free: 127 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/1.336, allocations: 1.37 MB / 1.754 GB, free: 125.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.337, allocations: 0.7529 MB / 1.755 GB, free: 124.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/1.337, allocations: 28 kB / 1.755 GB, free: 124.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.338, allocations: 184 kB / 1.755 GB, free: 124.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.338, allocations: 88.83 kB / 1.755 GB, free: 124.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/1.338, allocations: 47.97 kB / 1.755 GB, free: 124.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.04726/1.386, allocations: 79.42 MB / 1.833 GB, free: 45.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.6e-07/1.386, allocations: 0 / 1.833 GB, free: 45.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002439/1.388, allocations: 1.036 MB / 1.834 GB, free: 44.15 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.005016/1.393, allocations: 2.826 MB / 1.837 GB, free: 41.58 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001911/1.395, allocations: 1.198 MB / 1.838 GB, free: 40.38 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.395, allocations: 0 / 1.838 GB, free: 40.38 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008807/1.396, allocations: 0.629 MB / 1.839 GB, free: 39.73 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.397, allocations: 431.9 kB / 1.839 GB, free: 39.32 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.948/2.345, allocations: 407.1 MB / 2.237 GB, free: 0.5959 GB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/2.347, allocations: 1.15 MB / 2.238 GB, free: 0.5957 GB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.002125/2.349, allocations: 0.7828 MB / 2.239 GB, free: 0.5957 GB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/2.351, allocations: 1.116 MB / 2.24 GB, free: 0.5957 GB / 1.654 GB Notification: Performance of SimCode: time 6.92e-07/2.351, allocations: 0 / 2.24 GB, free: 0.5957 GB / 1.654 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/2.501, allocations: 116.9 MB / 2.354 GB, free: 0.5091 GB / 1.654 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/16.88, allocations: 10.11 kB / 2.354 GB, free: 0.509 GB / 1.654 GB " [Timeout remaining time 283] (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: 23.343078050296754]