Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.001457/0.001457, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001628/0.001628, allocations: 209.7 kB / 22.25 MB, free: 4.848 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.781 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.008/3.008, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.00197/0.00197, allocations: 69.78 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3127, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00942/0.3222, allocations: 7.274 MB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1668/0.4889, allocations: 140.8 MB / 1.508 GB, free: 9.426 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.4903, allocations: 55.56 kB / 1.508 GB, free: 9.371 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004698/0.495, allocations: 2.081 MB / 1.51 GB, free: 7.281 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.498, allocations: 1.316 MB / 1.511 GB, free: 5.965 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.5011, allocations: 1.493 MB / 1.513 GB, free: 4.477 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005488/0.5066, allocations: 5.797 MB / 1.518 GB, free: 14.67 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.5078, allocations: 0.7188 MB / 1.519 GB, free: 13.9 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.51, allocations: 1.753 MB / 1.521 GB, free: 12.14 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.5119, allocations: 1.526 MB / 1.522 GB, free: 10.61 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.5122, allocations: 280 kB / 1.523 GB, free: 10.34 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/0.5162, allocations: 2.602 MB / 1.525 GB, free: 7.734 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.002557/0.5188, allocations: 3.084 MB / 1.528 GB, free: 4.645 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002429/0.5212, allocations: 2.368 MB / 1.531 GB, free: 2.266 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.5323, allocations: 10.98 MB / 1.541 GB, free: 7.25 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5324, allocations: 0 / 1.541 GB, free: 7.25 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5324, allocations: 0 / 1.541 GB, free: 7.25 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.000109/0.5325, allocations: 0 / 1.541 GB, free: 7.25 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01617/0.5486, allocations: 8.548 MB / 1.55 GB, free: 14.62 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5487, allocations: 8.031 kB / 1.55 GB, free: 14.61 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002726/0.5489, allocations: 223.9 kB / 1.55 GB, free: 14.38 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.5521, allocations: 0.6962 MB / 1.55 GB, free: 13.68 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7808/1.333, allocations: 276.1 MB / 1.82 GB, free: 55.06 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/1.333, allocations: 138.9 kB / 1.82 GB, free: 54.92 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/1.333, allocations: 184 kB / 1.82 GB, free: 54.74 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/1.335, allocations: 2.154 MB / 1.823 GB, free: 52.44 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/1.335, allocations: 8 kB / 1.823 GB, free: 52.43 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.336, allocations: 69.08 kB / 1.823 GB, free: 52.37 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/1.336, allocations: 36 kB / 1.823 GB, free: 52.33 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/1.338, allocations: 1.882 MB / 1.825 GB, free: 50.44 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04505/1.383, allocations: 68.75 MB / 1.892 GB, free: 13.57 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/1.386, allocations: 1.551 MB / 1.893 GB, free: 12.01 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/1.387, allocations: 0.8772 MB / 1.894 GB, free: 11.12 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-05/1.387, allocations: 28.97 kB / 1.894 GB, free: 11.09 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001726/1.389, allocations: 1.278 MB / 1.895 GB, free: 9.77 MB / 1.326 GB Notification: Performance of pre-optimization done (n=117): time 2.655e-06/1.389, allocations: 0 / 1.895 GB, free: 9.77 MB / 1.326 GB Notification: Performance of matching and sorting (n=117): time 0.008383/1.397, allocations: 3.445 MB / 1.899 GB, free: 6.297 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002273/1.397, allocations: 322.5 kB / 1.899 GB, free: 5.934 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3617/1.759, allocations: 316 MB / 2.208 GB, free: 9.93 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.0003845/1.759, allocations: 65.7 kB / 2.208 GB, free: 9.859 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.00307/1.762, allocations: 2.254 MB / 2.21 GB, free: 7.598 MB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005447/1.763, allocations: 404.6 kB / 2.21 GB, free: 7.199 MB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007098/1.764, allocations: 459.4 kB / 2.211 GB, free: 6.746 MB / 1.639 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.764, allocations: 309.1 kB / 2.211 GB, free: 6.441 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/1.766, allocations: 1.501 MB / 2.212 GB, free: 4.934 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/1.768, allocations: 1.935 MB / 2.214 GB, free: 2.867 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/1.772, allocations: 2.884 MB / 2.217 GB, free: 15.89 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/1.773, allocations: 0 / 2.217 GB, free: 15.89 MB / 1.654 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008379/1.781, allocations: 4.134 MB / 2.221 GB, free: 11.74 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/1.781, allocations: 137.6 kB / 2.221 GB, free: 11.6 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.781, allocations: 8 kB / 2.221 GB, free: 11.59 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/1.782, allocations: 93.08 kB / 2.221 GB, free: 11.5 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.783, allocations: 391.4 kB / 2.222 GB, free: 11.11 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/1.785, allocations: 1.541 MB / 2.223 GB, free: 9.457 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/1.789, allocations: 0.6429 MB / 2.224 GB, free: 8.812 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/1.789, allocations: 83.97 kB / 2.224 GB, free: 8.73 MB / 1.654 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * 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.00317/1.792, allocations: 2.145 MB / 2.226 GB, free: 6.57 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/1.794, allocations: 488.7 kB / 2.226 GB, free: 6.09 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00515/1.799, allocations: 3.168 MB / 2.23 GB, free: 2.91 MB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.799, allocations: 16 kB / 2.23 GB, free: 2.895 MB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.799, allocations: 0 / 2.23 GB, free: 2.895 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/1.799, allocations: 11.91 kB / 2.23 GB, free: 2.883 MB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/1.803, allocations: 3.103 MB / 2.233 GB, free: 15.73 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.803, allocations: 0 / 2.233 GB, free: 15.73 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007348/1.804, allocations: 179.7 kB / 2.233 GB, free: 15.55 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/1.804, allocations: 77.88 kB / 2.233 GB, free: 15.48 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.204e-05/1.804, allocations: 39.97 kB / 2.233 GB, free: 15.44 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/1.806, allocations: 1.542 MB / 2.234 GB, free: 13.78 MB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.806, allocations: 0 / 2.234 GB, free: 13.78 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005108/1.811, allocations: 2.864 MB / 2.237 GB, free: 10.88 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003857/1.815, allocations: 1.882 MB / 2.239 GB, free: 8.992 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007599/1.816, allocations: 28 kB / 2.239 GB, free: 8.965 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.818, allocations: 426.2 kB / 2.24 GB, free: 8.551 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/1.818, allocations: 101.9 kB / 2.24 GB, free: 8.453 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.818, allocations: 63.95 kB / 2.24 GB, free: 8.391 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.7164/2.535, allocations: 251.5 MB / 2.485 GB, free: 407.9 MB / 1.67 GB Notification: Performance of sort global known variables: time 3.11e-07/2.535, allocations: 0 / 2.485 GB, free: 407.9 MB / 1.67 GB Notification: Performance of remove unused functions: time 0.003879/2.539, allocations: 1.426 MB / 2.487 GB, free: 406.6 MB / 1.67 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.006999/2.546, allocations: 4.322 MB / 2.491 GB, free: 403 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.003457/2.549, allocations: 3.236 MB / 2.494 GB, free: 399.7 MB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/2.549, allocations: 4.688 kB / 2.494 GB, free: 399.7 MB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/2.551, allocations: 1.445 MB / 2.496 GB, free: 398.2 MB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/2.554, allocations: 0.6204 MB / 2.496 GB, free: 397.7 MB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.975/4.529, allocations: 1.258 GB / 3.754 GB, free: 394 MB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/4.531, allocations: 2.484 MB / 3.756 GB, free: 391.5 MB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.00344/4.534, allocations: 1.693 MB / 3.758 GB, free: 389.9 MB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002847/4.537, allocations: 2.354 MB / 3.76 GB, free: 387.6 MB / 1.67 GB Notification: Performance of SimCode: time 1.302e-06/4.537, allocations: 4 kB / 3.76 GB, free: 387.6 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3071/4.844, allocations: 294.1 MB / 4.047 GB, free: 95.34 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.89/23.74, allocations: 6.812 kB / 4.047 GB, free: 95.34 MB / 1.67 GB " [Timeout remaining time 276] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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: 30.78999911993742]