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.001224/0.001224, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001308/0.001308, allocations: 215 kB / 20.13 MB, free: 2.949 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.398/1.398, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.917/2.917, allocations: 0.5003 GB / 0.8026 GB, free: 6.891 MB / 0.6387 GB " [Timeout remaining time 176] 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.001929/0.001929, allocations: 71.89 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8126, allocations: 179 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.00882/0.8214, allocations: 7.037 MB / 1.347 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1991/1.021, allocations: 158.7 MB / 1.502 GB, free: 2.395 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/1.022, allocations: 35.75 kB / 1.502 GB, free: 2.359 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005036/1.027, allocations: 1.828 MB / 1.504 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003286/1.031, allocations: 0.9131 MB / 1.505 GB, free: 15.61 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002863/1.033, allocations: 1.002 MB / 1.506 GB, free: 14.61 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00327/1.037, allocations: 2.586 MB / 1.508 GB, free: 12.02 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/1.038, allocations: 0.6605 MB / 1.509 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/1.039, allocations: 0.9384 MB / 1.51 GB, free: 10.37 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/1.04, allocations: 0.9687 MB / 1.511 GB, free: 9.395 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/1.04, allocations: 188 kB / 1.511 GB, free: 9.211 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/1.044, allocations: 2.38 MB / 1.513 GB, free: 6.828 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/1.045, allocations: 1.247 MB / 1.514 GB, free: 5.578 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/1.047, allocations: 1.43 MB / 1.516 GB, free: 4.141 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007573/1.055, allocations: 5.517 MB / 1.521 GB, free: 14.61 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/1.055, allocations: 0 / 1.521 GB, free: 14.61 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.993e-06/1.055, allocations: 0 / 1.521 GB, free: 14.61 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.06e-05/1.055, allocations: 0 / 1.521 GB, free: 14.61 MB / 1.201 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.00845/1.063, allocations: 4.107 MB / 1.525 GB, free: 10.43 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.063, allocations: 8.031 kB / 1.525 GB, free: 10.42 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.166e-05/1.063, allocations: 34.73 kB / 1.525 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/1.063, allocations: 194.3 kB / 1.526 GB, free: 10.19 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/1.066, allocations: 446.8 kB / 1.526 GB, free: 9.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08799/1.154, allocations: 87.7 MB / 1.612 GB, free: 1.953 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.154, allocations: 106.5 kB / 1.612 GB, free: 1.848 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/1.154, allocations: 132 kB / 1.612 GB, free: 1.719 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/1.157, allocations: 1.357 MB / 1.613 GB, free: 308 kB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.157, allocations: 0 / 1.613 GB, free: 308 kB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.157, allocations: 52 kB / 1.613 GB, free: 256 kB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/1.157, allocations: 35.94 kB / 1.613 GB, free: 220 kB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/1.16, allocations: 1.504 MB / 1.615 GB, free: 14.7 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02508/1.185, allocations: 23.98 MB / 1.638 GB, free: 6.504 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/1.187, allocations: 1.067 MB / 1.639 GB, free: 5.438 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009437/1.188, allocations: 407.7 kB / 1.64 GB, free: 5.035 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/1.188, allocations: 41 kB / 1.64 GB, free: 5 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/1.19, allocations: 0.6528 MB / 1.64 GB, free: 4.332 MB / 1.311 GB Notification: Performance of pre-optimization done (n=100): time 3.827e-06/1.19, allocations: 0 / 1.64 GB, free: 4.332 MB / 1.311 GB Notification: Performance of matching and sorting (n=100): time 0.005371/1.195, allocations: 1.75 MB / 1.642 GB, free: 2.551 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.195, allocations: 196.9 kB / 1.642 GB, free: 2.316 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.113/1.308, allocations: 99.44 MB / 1.739 GB, free: 14.84 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0002873/1.309, allocations: 53.7 kB / 1.739 GB, free: 14.78 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/1.31, allocations: 1.077 MB / 1.74 GB, free: 13.7 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/1.311, allocations: 341.1 kB / 1.741 GB, free: 13.36 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005577/1.311, allocations: 242.9 kB / 1.741 GB, free: 13.12 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.311, allocations: 353.9 kB / 1.741 GB, free: 12.77 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009689/1.312, allocations: 486.4 kB / 1.742 GB, free: 12.29 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/1.313, allocations: 0.6285 MB / 1.742 GB, free: 11.62 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/1.315, allocations: 1.002 MB / 1.743 GB, free: 10.61 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.315, allocations: 4 kB / 1.743 GB, free: 10.61 MB / 1.42 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003904/1.319, allocations: 1.523 MB / 1.745 GB, free: 9.07 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.319, allocations: 4 kB / 1.745 GB, free: 9.066 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.319, allocations: 4 kB / 1.745 GB, free: 9.062 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/1.32, allocations: 84.89 kB / 1.745 GB, free: 8.977 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009988/1.321, allocations: 239.7 kB / 1.745 GB, free: 8.742 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/1.323, allocations: 1.644 MB / 1.747 GB, free: 6.953 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/1.325, allocations: 272.6 kB / 1.747 GB, free: 6.688 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/1.325, allocations: 47.97 kB / 1.747 GB, free: 6.641 MB / 1.42 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.001588/1.327, allocations: 0.8117 MB / 1.748 GB, free: 5.816 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.328, allocations: 238.4 kB / 1.748 GB, free: 5.582 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/1.332, allocations: 1.62 MB / 1.75 GB, free: 3.953 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/1.332, allocations: 12 kB / 1.75 GB, free: 3.941 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.332, allocations: 0 / 1.75 GB, free: 3.941 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/1.332, allocations: 3.984 kB / 1.75 GB, free: 3.938 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/1.336, allocations: 1.98 MB / 1.752 GB, free: 1.906 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.336, allocations: 4 kB / 1.752 GB, free: 1.902 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/1.337, allocations: 183.7 kB / 1.752 GB, free: 1.723 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000497/1.337, allocations: 68.78 kB / 1.752 GB, free: 1.652 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/1.338, allocations: 35.98 kB / 1.752 GB, free: 1.617 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/1.34, allocations: 1.658 MB / 1.753 GB, free: 15.81 MB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.34, allocations: 0 / 1.753 GB, free: 15.81 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/1.344, allocations: 1.381 MB / 1.755 GB, free: 14.41 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.345, allocations: 0.776 MB / 1.756 GB, free: 13.61 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007433/1.346, allocations: 24 kB / 1.756 GB, free: 13.59 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/1.348, allocations: 175.9 kB / 1.756 GB, free: 13.41 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/1.348, allocations: 88.88 kB / 1.756 GB, free: 13.32 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.348, allocations: 43.97 kB / 1.756 GB, free: 13.28 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.07916/1.427, allocations: 79.42 MB / 1.833 GB, free: 13.82 MB / 1.514 GB Notification: Performance of sort global known variables: time 3.11e-07/1.427, allocations: 0 / 1.833 GB, free: 13.82 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.00365/1.431, allocations: 1.041 MB / 1.834 GB, free: 12.78 MB / 1.514 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.007923/1.439, allocations: 2.792 MB / 1.837 GB, free: 10.14 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.002884/1.442, allocations: 1.196 MB / 1.838 GB, free: 8.934 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.442, allocations: 4.125 kB / 1.838 GB, free: 8.93 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/1.443, allocations: 0.6251 MB / 1.839 GB, free: 8.289 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/1.446, allocations: 424.6 kB / 1.839 GB, free: 7.891 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9262/2.372, allocations: 407.1 MB / 2.237 GB, free: 179.5 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009749/2.373, allocations: 1.723 MB / 2.239 GB, free: 177.7 MB / 1.545 GB Notification: Performance of simCode: alias equations: time 0.00182/2.375, allocations: 0.7731 MB / 2.239 GB, free: 177.1 MB / 1.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/2.376, allocations: 1.112 MB / 2.24 GB, free: 176 MB / 1.545 GB Notification: Performance of SimCode: time 1.613e-06/2.376, allocations: 3.812 kB / 2.24 GB, free: 176 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/2.516, allocations: 113.6 MB / 2.351 GB, free: 63.43 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/19.35, allocations: 20.5 kB / 2.351 GB, free: 63.41 MB / 1.545 GB " [Timeout remaining time 280] (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: 27.07868552900618]