Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001265/0.001265, allocations: 116.8 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.001348/0.001348, allocations: 209.5 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.413/1.413, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.758/2.758, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_12_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.002037/0.002037, allocations: 63.91 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.909/0.911, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007804/0.9188, allocations: 8.3 MB / 1.33 GB, free: 18.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2066/1.125, allocations: 162.9 MB / 1.489 GB, free: 10.68 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/1.128, allocations: 53.03 kB / 1.489 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006212/1.134, allocations: 2.032 MB / 1.491 GB, free: 9.262 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/1.138, allocations: 1.306 MB / 1.492 GB, free: 8.27 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/1.143, allocations: 1.449 MB / 1.493 GB, free: 7.168 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006637/1.149, allocations: 5.421 MB / 1.499 GB, free: 3.816 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/1.151, allocations: 0.7772 MB / 1.499 GB, free: 3.082 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/1.154, allocations: 1.742 MB / 1.501 GB, free: 1.336 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/1.156, allocations: 1.611 MB / 1.503 GB, free: 15.72 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004611/1.157, allocations: 280 kB / 1.503 GB, free: 15.45 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/1.162, allocations: 2.469 MB / 1.505 GB, free: 12.97 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0029/1.164, allocations: 3.091 MB / 1.508 GB, free: 9.875 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00386/1.168, allocations: 2.943 MB / 1.511 GB, free: 6.918 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01414/1.182, allocations: 10.9 MB / 1.522 GB, free: 11.98 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.183, allocations: 4 kB / 1.522 GB, free: 11.98 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.323e-06/1.183, allocations: 0 / 1.522 GB, free: 11.98 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002265/1.183, allocations: 0 / 1.522 GB, free: 11.98 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.02149/1.204, allocations: 8.5 MB / 1.53 GB, free: 3.379 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.204, allocations: 11.98 kB / 1.53 GB, free: 3.367 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.613e-05/1.204, allocations: 47.11 kB / 1.53 GB, free: 3.32 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003085/1.205, allocations: 223.9 kB / 1.531 GB, free: 3.09 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004219/1.209, allocations: 0.6924 MB / 1.531 GB, free: 2.395 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2762/1.485, allocations: 276.1 MB / 1.801 GB, free: 14.11 MB / 1.482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/1.485, allocations: 134.9 kB / 1.801 GB, free: 13.97 MB / 1.482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000532/1.486, allocations: 192 kB / 1.801 GB, free: 13.79 MB / 1.482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/1.49, allocations: 1.96 MB / 1.803 GB, free: 11.75 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/1.49, allocations: 3.938 kB / 1.803 GB, free: 11.74 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/1.49, allocations: 67.94 kB / 1.803 GB, free: 11.68 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/1.49, allocations: 36 kB / 1.803 GB, free: 11.64 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/1.493, allocations: 1.986 MB / 1.805 GB, free: 9.645 MB / 1.482 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07019/1.564, allocations: 70.46 MB / 1.874 GB, free: 2.914 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/1.567, allocations: 1.579 MB / 1.875 GB, free: 1.328 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/1.568, allocations: 0.8997 MB / 1.876 GB, free: 436 kB / 1.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/1.569, allocations: 52.94 kB / 1.876 GB, free: 388 kB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6192/2.188, allocations: 1.186 MB / 1.878 GB, free: 0.4928 GB / 1.545 GB Notification: Performance of pre-optimization done (n=117): time 4.689e-06/2.188, allocations: 1.156 kB / 1.878 GB, free: 0.4928 GB / 1.545 GB Notification: Performance of matching and sorting (n=117): time 0.00977/2.198, allocations: 3.748 MB / 1.881 GB, free: 0.492 GB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/2.198, allocations: 340.7 kB / 1.882 GB, free: 0.4918 GB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2831/2.481, allocations: 316 MB / 2.19 GB, free: 241.3 MB / 1.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004988/2.481, allocations: 65.7 kB / 2.19 GB, free: 241.2 MB / 1.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002804/2.484, allocations: 2.261 MB / 2.192 GB, free: 239.2 MB / 1.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000583/2.485, allocations: 396.5 kB / 2.193 GB, free: 238.8 MB / 1.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000731/2.485, allocations: 463.4 kB / 2.193 GB, free: 238.4 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 4.712e-05/2.485, allocations: 305.1 kB / 2.193 GB, free: 238.1 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/2.487, allocations: 1.52 MB / 2.195 GB, free: 236.5 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/2.489, allocations: 1.838 MB / 2.197 GB, free: 234.6 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/2.493, allocations: 3.233 MB / 2.2 GB, free: 231.3 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/2.493, allocations: 0 / 2.2 GB, free: 231.3 MB / 1.545 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008582/2.502, allocations: 4.338 MB / 2.204 GB, free: 227 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/2.502, allocations: 169.6 kB / 2.204 GB, free: 226.8 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/2.502, allocations: 7.438 kB / 2.204 GB, free: 226.8 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/2.503, allocations: 92.34 kB / 2.204 GB, free: 226.7 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/2.504, allocations: 392.2 kB / 2.205 GB, free: 226.3 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/2.506, allocations: 1.635 MB / 2.206 GB, free: 224.6 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/2.511, allocations: 0.6494 MB / 2.207 GB, free: 224 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005166/2.511, allocations: 87.97 kB / 2.207 GB, free: 223.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.003418/2.515, allocations: 2.17 MB / 2.209 GB, free: 221.7 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003028/2.518, allocations: 484.7 kB / 2.21 GB, free: 221.2 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005544/2.523, allocations: 3.396 MB / 2.213 GB, free: 217.9 MB / 1.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/2.523, allocations: 12 kB / 2.213 GB, free: 217.8 MB / 1.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/2.523, allocations: 7.938 kB / 2.213 GB, free: 217.8 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/2.523, allocations: 8.781 kB / 2.213 GB, free: 217.8 MB / 1.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/2.529, allocations: 4.096 MB / 2.217 GB, free: 213.7 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/2.529, allocations: 4 kB / 2.217 GB, free: 213.7 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/2.53, allocations: 187.7 kB / 2.217 GB, free: 213.5 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/2.53, allocations: 73.75 kB / 2.217 GB, free: 213.4 MB / 1.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/2.531, allocations: 39.69 kB / 2.217 GB, free: 213.4 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/2.532, allocations: 1.661 MB / 2.219 GB, free: 211.6 MB / 1.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/2.532, allocations: 4.031 kB / 2.219 GB, free: 211.6 MB / 1.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/2.538, allocations: 3.085 MB / 2.222 GB, free: 208.5 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003485/2.541, allocations: 1.801 MB / 2.224 GB, free: 206.7 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001874/2.543, allocations: 31.95 kB / 2.224 GB, free: 206.6 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003391/2.547, allocations: 415.9 kB / 2.224 GB, free: 206.2 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/2.547, allocations: 96.86 kB / 2.224 GB, free: 206.1 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/2.547, allocations: 63.97 kB / 2.224 GB, free: 206.1 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.1727/2.72, allocations: 251.6 MB / 2.47 GB, free: 2.527 MB / 1.592 GB Notification: Performance of sort global known variables: time 2.31e-07/2.72, allocations: 0 / 2.47 GB, free: 2.527 MB / 1.592 GB Notification: Performance of remove unused functions: time 0.005645/2.725, allocations: 1.426 MB / 2.471 GB, free: 1.105 MB / 1.592 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.01155/2.737, allocations: 4.532 MB / 2.476 GB, free: 12.79 MB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.005948/2.743, allocations: 3.339 MB / 2.479 GB, free: 9.426 MB / 1.607 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/2.743, allocations: 0 / 2.479 GB, free: 9.426 MB / 1.607 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/2.745, allocations: 1.524 MB / 2.481 GB, free: 7.879 MB / 1.607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005722/2.751, allocations: 0.6275 MB / 2.481 GB, free: 7.27 MB / 1.607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.823/5.574, allocations: 1.258 GB / 3.739 GB, free: 0.5199 GB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004774/5.579, allocations: 3.019 MB / 3.742 GB, free: 0.5187 GB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.004876/5.584, allocations: 1.695 MB / 3.744 GB, free: 0.5185 GB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005394/5.589, allocations: 2.359 MB / 3.746 GB, free: 0.5169 GB / 1.607 GB Notification: Performance of SimCode: time 1.453e-06/5.589, allocations: 4 kB / 3.746 GB, free: 0.5169 GB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3132/5.903, allocations: 287.8 MB / 4.027 GB, free: 279.8 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.02/29.93, allocations: 19.02 kB / 4.027 GB, free: 279.8 MB / 1.607 GB " [Timeout remaining time 270] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.41334771102993]