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.00124/0.00124, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001422/0.001422, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.427/1.427, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.837/2.837, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.001959/0.001959, allocations: 71.89 kB / 1.165 GB, free: 460 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9146/0.9166, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008259/0.9249, allocations: 8.299 MB / 1.348 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2158/1.141, allocations: 162.9 MB / 1.507 GB, free: 12.97 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/1.142, allocations: 47.62 kB / 1.507 GB, free: 12.92 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00494/1.147, allocations: 2.036 MB / 1.509 GB, free: 10.88 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/1.151, allocations: 1.305 MB / 1.511 GB, free: 9.57 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/1.155, allocations: 1.455 MB / 1.512 GB, free: 8.121 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006458/1.162, allocations: 5.411 MB / 1.517 GB, free: 2.699 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/1.163, allocations: 0.7844 MB / 1.518 GB, free: 1.867 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/1.166, allocations: 1.734 MB / 1.52 GB, free: 132 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/1.168, allocations: 1.615 MB / 1.521 GB, free: 14.51 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004178/1.169, allocations: 280 kB / 1.522 GB, free: 14.23 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004711/1.173, allocations: 2.469 MB / 1.524 GB, free: 11.76 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.003148/1.176, allocations: 3.099 MB / 1.527 GB, free: 8.656 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.004121/1.181, allocations: 2.939 MB / 1.53 GB, free: 5.703 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01406/1.195, allocations: 10.91 MB / 1.541 GB, free: 10.75 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.195, allocations: 0 / 1.541 GB, free: 10.75 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.154e-06/1.195, allocations: 0 / 1.541 GB, free: 10.75 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001991/1.195, allocations: 0 / 1.541 GB, free: 10.75 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.02055/1.215, allocations: 8.491 MB / 1.549 GB, free: 2.164 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.215, allocations: 16.03 kB / 1.549 GB, free: 2.148 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.123e-05/1.215, allocations: 39.11 kB / 1.549 GB, free: 2.109 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003376/1.216, allocations: 219.9 kB / 1.549 GB, free: 1.883 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/1.22, allocations: 0.7002 MB / 1.55 GB, free: 1.18 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2824/1.502, allocations: 276.1 MB / 1.82 GB, free: 12.89 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.503, allocations: 142.9 kB / 1.82 GB, free: 12.75 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/1.503, allocations: 184 kB / 1.82 GB, free: 12.57 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/1.506, allocations: 1.968 MB / 1.822 GB, free: 10.52 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.506, allocations: 0 / 1.822 GB, free: 10.52 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/1.506, allocations: 64 kB / 1.822 GB, free: 10.46 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/1.506, allocations: 36 kB / 1.822 GB, free: 10.43 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/1.509, allocations: 1.982 MB / 1.824 GB, free: 8.438 MB / 1.498 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7659/2.275, allocations: 70.46 MB / 1.893 GB, free: 488.8 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/2.278, allocations: 1.574 MB / 1.894 GB, free: 488.3 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/2.28, allocations: 0.9037 MB / 1.895 GB, free: 488 MB / 1.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.393e-05/2.28, allocations: 36.03 kB / 1.895 GB, free: 488 MB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/2.281, allocations: 1.193 MB / 1.896 GB, free: 487.6 MB / 1.545 GB Notification: Performance of pre-optimization done (n=117): time 2.544e-06/2.281, allocations: 1.688 kB / 1.896 GB, free: 487.6 MB / 1.545 GB Notification: Performance of matching and sorting (n=117): time 0.008101/2.289, allocations: 3.752 MB / 1.9 GB, free: 486.7 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002058/2.29, allocations: 344.8 kB / 1.9 GB, free: 486.4 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2761/2.566, allocations: 316 MB / 2.209 GB, free: 207.3 MB / 1.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004501/2.566, allocations: 65.7 kB / 2.209 GB, free: 207.3 MB / 1.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003141/2.569, allocations: 2.25 MB / 2.211 GB, free: 205.2 MB / 1.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005312/2.57, allocations: 400.6 kB / 2.211 GB, free: 204.8 MB / 1.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/2.571, allocations: 463.4 kB / 2.212 GB, free: 204.4 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 4.056e-05/2.571, allocations: 303.5 kB / 2.212 GB, free: 204.1 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/2.573, allocations: 1.523 MB / 2.214 GB, free: 202.5 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/2.575, allocations: 1.841 MB / 2.215 GB, free: 200.6 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/2.578, allocations: 3.232 MB / 2.219 GB, free: 197.3 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/2.578, allocations: 3.125 kB / 2.219 GB, free: 197.3 MB / 1.545 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007333/2.585, allocations: 4.335 MB / 2.223 GB, free: 193 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/2.585, allocations: 171.2 kB / 2.223 GB, free: 192.8 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/2.585, allocations: 4 kB / 2.223 GB, free: 192.8 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/2.586, allocations: 103.6 kB / 2.223 GB, free: 192.7 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/2.587, allocations: 389.3 kB / 2.223 GB, free: 192.3 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/2.589, allocations: 1.645 MB / 2.225 GB, free: 190.6 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/2.593, allocations: 0.6416 MB / 2.226 GB, free: 190 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/2.593, allocations: 87.97 kB / 2.226 GB, free: 189.9 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.002509/2.596, allocations: 2.167 MB / 2.228 GB, free: 187.7 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002231/2.598, allocations: 480.7 kB / 2.228 GB, free: 187.3 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/2.603, allocations: 3.411 MB / 2.232 GB, free: 183.8 MB / 1.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/2.603, allocations: 12 kB / 2.232 GB, free: 183.8 MB / 1.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/2.603, allocations: 0 / 2.232 GB, free: 183.8 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/2.603, allocations: 3.984 kB / 2.232 GB, free: 183.8 MB / 1.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00575/2.608, allocations: 4.103 MB / 2.236 GB, free: 179.7 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/2.608, allocations: 7.938 kB / 2.236 GB, free: 179.7 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/2.609, allocations: 179.8 kB / 2.236 GB, free: 179.5 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/2.61, allocations: 72.78 kB / 2.236 GB, free: 179.4 MB / 1.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/2.61, allocations: 35.97 kB / 2.236 GB, free: 179.4 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/2.611, allocations: 1.658 MB / 2.238 GB, free: 177.6 MB / 1.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/2.611, allocations: 4 kB / 2.238 GB, free: 177.6 MB / 1.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/2.617, allocations: 3.085 MB / 2.241 GB, free: 174.5 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003148/2.62, allocations: 1.806 MB / 2.242 GB, free: 172.6 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/2.621, allocations: 31.95 kB / 2.242 GB, free: 172.6 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/2.624, allocations: 419.9 kB / 2.243 GB, free: 172.2 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/2.624, allocations: 92.88 kB / 2.243 GB, free: 172.1 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/2.625, allocations: 59.97 kB / 2.243 GB, free: 172.1 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.1778/2.802, allocations: 251.5 MB / 2.489 GB, free: 500 kB / 1.623 GB Notification: Performance of sort global known variables: time 3.91e-07/2.802, allocations: 0.7656 kB / 2.489 GB, free: 500 kB / 1.623 GB Notification: Performance of remove unused functions: time 0.005866/2.808, allocations: 1.424 MB / 2.49 GB, free: 15.07 MB / 1.639 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.01138/2.82, allocations: 4.527 MB / 2.494 GB, free: 10.74 MB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.005826/2.825, allocations: 3.324 MB / 2.498 GB, free: 7.398 MB / 1.639 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/2.825, allocations: 8.062 kB / 2.498 GB, free: 7.391 MB / 1.639 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/2.828, allocations: 1.538 MB / 2.499 GB, free: 5.828 MB / 1.639 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/2.833, allocations: 0.6191 MB / 2.5 GB, free: 5.23 MB / 1.639 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.747/5.581, allocations: 1.258 GB / 3.758 GB, free: 0.5502 GB / 1.639 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004474/5.585, allocations: 3.022 MB / 3.761 GB, free: 0.549 GB / 1.639 GB Notification: Performance of simCode: alias equations: time 0.004824/5.59, allocations: 1.693 MB / 3.762 GB, free: 0.5488 GB / 1.639 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004955/5.595, allocations: 2.361 MB / 3.765 GB, free: 0.5473 GB / 1.639 GB Notification: Performance of SimCode: time 1.352e-06/5.595, allocations: 0 / 3.765 GB, free: 0.5473 GB / 1.639 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.321/5.916, allocations: 287.8 MB / 4.046 GB, free: 321.8 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.56/29.47, allocations: 0 / 4.046 GB, free: 321.8 MB / 1.639 GB " [Timeout remaining time 270] (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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 37.18548965599621]