Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001402/0.001402, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.001633/0.001633, allocations: 218.4 kB / 22.26 MB, free: 5.219 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.905/2.905, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_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.002054/0.002054, allocations: 65.91 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3054, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01343/0.3188, allocations: 8.325 MB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2135/0.5323, allocations: 163.1 MB / 1.451 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.534, allocations: 59.56 kB / 1.451 GB, free: 15.65 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005936/0.54, allocations: 2.19 MB / 1.453 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004159/0.5441, allocations: 1.314 MB / 1.454 GB, free: 12.13 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004769/0.5489, allocations: 1.543 MB / 1.456 GB, free: 10.59 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008679/0.5576, allocations: 5.899 MB / 1.462 GB, free: 4.676 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.5598, allocations: 0.7462 MB / 1.462 GB, free: 3.887 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.5637, allocations: 1.745 MB / 1.464 GB, free: 2.137 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.5669, allocations: 1.639 MB / 1.466 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009037/0.5678, allocations: 280 kB / 1.466 GB, free: 224 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0061/0.5739, allocations: 2.863 MB / 1.469 GB, free: 13.35 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.004461/0.5784, allocations: 3.095 MB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.006352/0.5847, allocations: 2.947 MB / 1.475 GB, free: 7.289 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.6001, allocations: 10.95 MB / 1.485 GB, free: 12.3 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6001, allocations: 0 / 1.485 GB, free: 12.3 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6001, allocations: 0 / 1.485 GB, free: 12.3 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002189/0.6003, allocations: 0 / 1.485 GB, free: 12.3 MB / 1.186 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.02117/0.6215, allocations: 8.417 MB / 1.493 GB, free: 3.809 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6216, allocations: 8.031 kB / 1.493 GB, free: 3.801 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005199/0.6221, allocations: 227.9 kB / 1.494 GB, free: 3.566 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/0.6267, allocations: 0.6924 MB / 1.494 GB, free: 2.871 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8812/1.508, allocations: 276.1 MB / 1.764 GB, free: 170.4 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/1.508, allocations: 138.9 kB / 1.764 GB, free: 170.2 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004331/1.508, allocations: 190 kB / 1.764 GB, free: 170 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/1.511, allocations: 1.956 MB / 1.766 GB, free: 168 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/1.511, allocations: 1.312 kB / 1.766 GB, free: 168 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/1.512, allocations: 68 kB / 1.766 GB, free: 167.9 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/1.512, allocations: 36 kB / 1.766 GB, free: 167.9 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/1.514, allocations: 1.986 MB / 1.768 GB, free: 165.9 MB / 1.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04253/1.557, allocations: 70.27 MB / 1.837 GB, free: 95.41 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/1.559, allocations: 1.583 MB / 1.838 GB, free: 93.83 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/1.56, allocations: 0.9018 MB / 1.839 GB, free: 92.93 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.426e-05/1.561, allocations: 37.91 kB / 1.839 GB, free: 92.89 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/1.562, allocations: 1.199 MB / 1.84 GB, free: 91.67 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 2.845e-06/1.562, allocations: 0 / 1.84 GB, free: 91.67 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.007284/1.569, allocations: 3.672 MB / 1.844 GB, free: 87.98 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/1.569, allocations: 346.5 kB / 1.844 GB, free: 87.59 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.373/1.942, allocations: 316 MB / 2.153 GB, free: 11.59 MB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.0005154/1.943, allocations: 65.7 kB / 2.153 GB, free: 11.52 MB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.004311/1.947, allocations: 2.247 MB / 2.155 GB, free: 9.27 MB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006902/1.948, allocations: 408.5 kB / 2.156 GB, free: 8.867 MB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/1.949, allocations: 459.5 kB / 2.156 GB, free: 8.414 MB / 1.529 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.95, allocations: 309.1 kB / 2.156 GB, free: 8.109 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/1.952, allocations: 1.523 MB / 2.158 GB, free: 6.586 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/1.956, allocations: 1.832 MB / 2.16 GB, free: 4.66 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005475/1.961, allocations: 3.236 MB / 2.163 GB, free: 1.34 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.961, allocations: 0 / 2.163 GB, free: 1.34 MB / 1.529 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01099/1.972, allocations: 4.329 MB / 2.167 GB, free: 12.99 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002362/1.972, allocations: 173.2 kB / 2.167 GB, free: 12.82 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/1.972, allocations: 4 kB / 2.167 GB, free: 12.81 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007056/1.973, allocations: 92.98 kB / 2.167 GB, free: 12.72 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/1.975, allocations: 392.3 kB / 2.168 GB, free: 12.34 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/1.977, allocations: 1.543 MB / 2.169 GB, free: 10.68 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004768/1.982, allocations: 0.6399 MB / 2.17 GB, free: 10.04 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004816/1.983, allocations: 99.94 kB / 2.17 GB, free: 9.938 MB / 1.545 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.00449/1.987, allocations: 2.164 MB / 2.172 GB, free: 7.758 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003042/1.99, allocations: 485.7 kB / 2.172 GB, free: 7.281 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/1.998, allocations: 3.406 MB / 2.176 GB, free: 3.852 MB / 1.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/1.998, allocations: 12 kB / 2.176 GB, free: 3.84 MB / 1.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/1.998, allocations: 0 / 2.176 GB, free: 3.84 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.998, allocations: 7.922 kB / 2.176 GB, free: 3.832 MB / 1.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009232/2.007, allocations: 4.069 MB / 2.18 GB, free: 15.71 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/2.007, allocations: 0 / 2.18 GB, free: 15.71 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/2.008, allocations: 187.7 kB / 2.18 GB, free: 15.53 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/2.008, allocations: 73.58 kB / 2.18 GB, free: 15.46 MB / 1.561 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/2.009, allocations: 39.97 kB / 2.18 GB, free: 15.42 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/2.011, allocations: 1.558 MB / 2.182 GB, free: 13.74 MB / 1.561 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/2.011, allocations: 3.984 kB / 2.182 GB, free: 13.74 MB / 1.561 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007592/2.019, allocations: 3.093 MB / 2.185 GB, free: 10.62 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005168/2.024, allocations: 1.725 MB / 2.186 GB, free: 8.891 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002096/2.026, allocations: 28 kB / 2.186 GB, free: 8.863 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/2.029, allocations: 411.9 kB / 2.187 GB, free: 8.461 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/2.03, allocations: 100.8 kB / 2.187 GB, free: 8.359 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/2.03, allocations: 65.8 kB / 2.187 GB, free: 8.301 MB / 1.561 GB Notification: Performance of sorting global known variables: time 0.8563/2.886, allocations: 251.5 MB / 2.432 GB, free: 359 MB / 1.561 GB Notification: Performance of sort global known variables: time 7.61e-07/2.886, allocations: 0.5312 kB / 2.432 GB, free: 359 MB / 1.561 GB Notification: Performance of remove unused functions: time 0.007573/2.894, allocations: 1.426 MB / 2.434 GB, free: 357.8 MB / 1.561 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.01074/2.905, allocations: 4.532 MB / 2.438 GB, free: 353.9 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.004677/2.909, allocations: 3.34 MB / 2.442 GB, free: 350.6 MB / 1.561 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/2.909, allocations: 0 / 2.442 GB, free: 350.6 MB / 1.561 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/2.911, allocations: 1.526 MB / 2.443 GB, free: 349 MB / 1.561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005923/2.917, allocations: 0.6129 MB / 2.444 GB, free: 348.4 MB / 1.561 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.272/5.189, allocations: 1.258 GB / 3.702 GB, free: 282.1 MB / 1.576 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004161/5.193, allocations: 3.023 MB / 3.705 GB, free: 279.1 MB / 1.576 GB Notification: Performance of simCode: alias equations: time 0.004529/5.198, allocations: 1.687 MB / 3.706 GB, free: 277.5 MB / 1.576 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004582/5.202, allocations: 2.364 MB / 3.709 GB, free: 275.2 MB / 1.576 GB Notification: Performance of SimCode: time 2.034e-06/5.202, allocations: 0 / 3.709 GB, free: 275.2 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.023/6.225, allocations: 288.7 MB / 3.99 GB, free: 0.5696 GB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.94/32.16, allocations: 5.234 kB / 3.99 GB, free: 0.5696 GB / 1.576 GB " [Timeout remaining time 267] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 39.90341927902773]