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.001793/0.001793, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002325/0.002325, allocations: 217 kB / 22.25 MB, free: 5.082 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.02 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 3.332/3.332, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_12_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.002033/0.002033, allocations: 68.89 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3596, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01187/0.3715, allocations: 8.33 MB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2024/0.5738, allocations: 163.1 MB / 1.493 GB, free: 5.848 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.5757, allocations: 51.62 kB / 1.493 GB, free: 5.797 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005852/0.5815, allocations: 2.194 MB / 1.495 GB, free: 3.594 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.5856, allocations: 1.31 MB / 1.497 GB, free: 2.281 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.5897, allocations: 1.541 MB / 1.498 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007095/0.5968, allocations: 5.891 MB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.5984, allocations: 0.7539 MB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.6016, allocations: 1.742 MB / 1.506 GB, free: 8.293 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.6046, allocations: 1.639 MB / 1.508 GB, free: 6.648 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007167/0.6053, allocations: 284 kB / 1.508 GB, free: 6.371 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.6104, allocations: 2.875 MB / 1.511 GB, free: 3.492 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00304/0.6134, allocations: 3.091 MB / 1.514 GB, free: 404 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003913/0.6174, allocations: 2.947 MB / 1.517 GB, free: 13.43 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.6311, allocations: 10.96 MB / 1.528 GB, free: 2.441 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6311, allocations: 0 / 1.528 GB, free: 2.441 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6311, allocations: 0 / 1.528 GB, free: 2.441 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001801/0.6313, allocations: 0 / 1.528 GB, free: 2.441 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.01983/0.6511, allocations: 8.417 MB / 1.536 GB, free: 9.938 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.6512, allocations: 8.031 kB / 1.536 GB, free: 9.93 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000451/0.6516, allocations: 227.9 kB / 1.536 GB, free: 9.695 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00421/0.6558, allocations: 0.7041 MB / 1.537 GB, free: 8.988 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9223/1.578, allocations: 276.1 MB / 1.807 GB, free: 96.46 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.578, allocations: 138.9 kB / 1.807 GB, free: 96.32 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005074/1.579, allocations: 188 kB / 1.807 GB, free: 96.14 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/1.582, allocations: 1.964 MB / 1.809 GB, free: 94.09 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/1.582, allocations: 0 / 1.809 GB, free: 94.09 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/1.582, allocations: 60 kB / 1.809 GB, free: 94.04 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/1.582, allocations: 36 kB / 1.809 GB, free: 94 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/1.585, allocations: 1.99 MB / 1.811 GB, free: 92 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04567/1.631, allocations: 70.37 MB / 1.879 GB, free: 21.38 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/1.634, allocations: 1.577 MB / 1.881 GB, free: 19.8 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.635, allocations: 0.9057 MB / 1.882 GB, free: 18.89 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.674e-05/1.635, allocations: 41.09 kB / 1.882 GB, free: 18.85 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/1.636, allocations: 1.203 MB / 1.883 GB, free: 17.63 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 3.807e-06/1.636, allocations: 1.219 kB / 1.883 GB, free: 17.63 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.007422/1.644, allocations: 3.669 MB / 1.887 GB, free: 13.94 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.644, allocations: 350.5 kB / 1.887 GB, free: 13.55 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3844/2.028, allocations: 316 MB / 2.196 GB, free: 1.551 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0004312/2.029, allocations: 69.69 kB / 2.196 GB, free: 1.477 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.003636/2.032, allocations: 2.245 MB / 2.198 GB, free: 15.23 MB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005895/2.033, allocations: 412.5 kB / 2.198 GB, free: 14.82 MB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/2.034, allocations: 455.5 kB / 2.199 GB, free: 14.37 MB / 1.607 GB Notification: Performance of setup shared object (initialization): time 0.0001289/2.034, allocations: 305.1 kB / 2.199 GB, free: 14.07 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002444/2.037, allocations: 1.527 MB / 2.2 GB, free: 12.54 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/2.039, allocations: 1.839 MB / 2.202 GB, free: 10.61 MB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004672/2.044, allocations: 3.224 MB / 2.205 GB, free: 7.301 MB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/2.044, allocations: 4 kB / 2.205 GB, free: 7.297 MB / 1.607 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009283/2.053, allocations: 4.334 MB / 2.21 GB, free: 2.945 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/2.053, allocations: 165.6 kB / 2.21 GB, free: 2.777 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/2.053, allocations: 8 kB / 2.21 GB, free: 2.77 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/2.054, allocations: 89.09 kB / 2.21 GB, free: 2.68 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/2.056, allocations: 395.4 kB / 2.21 GB, free: 2.293 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/2.058, allocations: 1.549 MB / 2.212 GB, free: 0.6289 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/2.063, allocations: 0.6437 MB / 2.212 GB, free: 15.98 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/2.063, allocations: 87.97 kB / 2.213 GB, free: 15.9 MB / 1.623 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.004041/2.067, allocations: 2.165 MB / 2.215 GB, free: 13.72 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003089/2.07, allocations: 488.7 kB / 2.215 GB, free: 13.24 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006935/2.077, allocations: 3.397 MB / 2.218 GB, free: 9.832 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/2.077, allocations: 12 kB / 2.218 GB, free: 9.82 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/2.077, allocations: 8 kB / 2.218 GB, free: 9.812 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/2.077, allocations: 11.91 kB / 2.218 GB, free: 9.801 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008415/2.085, allocations: 4.066 MB / 2.222 GB, free: 5.688 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/2.085, allocations: 0 / 2.222 GB, free: 5.688 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/2.086, allocations: 191.7 kB / 2.223 GB, free: 5.5 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000511/2.087, allocations: 68.8 kB / 2.223 GB, free: 5.43 MB / 1.623 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/2.087, allocations: 39.97 kB / 2.223 GB, free: 5.391 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/2.089, allocations: 1.564 MB / 2.224 GB, free: 3.711 MB / 1.623 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/2.089, allocations: 0 / 2.224 GB, free: 3.711 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00742/2.097, allocations: 3.089 MB / 2.227 GB, free: 0.5859 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6522/2.749, allocations: 1.722 MB / 2.229 GB, free: 0.5926 GB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00202/2.751, allocations: 29.03 kB / 2.229 GB, free: 0.5926 GB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/2.754, allocations: 413.7 kB / 2.229 GB, free: 0.5926 GB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/2.754, allocations: 98.25 kB / 2.229 GB, free: 0.5926 GB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/2.755, allocations: 61.94 kB / 2.229 GB, free: 0.5926 GB / 1.623 GB Notification: Performance of sorting global known variables: time 0.2064/2.961, allocations: 251.5 MB / 2.475 GB, free: 380.8 MB / 1.623 GB Notification: Performance of sort global known variables: time 5.41e-07/2.961, allocations: 0 / 2.475 GB, free: 380.8 MB / 1.623 GB Notification: Performance of remove unused functions: time 0.006569/2.968, allocations: 1.424 MB / 2.477 GB, free: 379.6 MB / 1.623 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.01398/2.982, allocations: 4.538 MB / 2.481 GB, free: 375.7 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.006616/2.988, allocations: 3.337 MB / 2.484 GB, free: 372.4 MB / 1.623 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/2.988, allocations: 0 / 2.484 GB, free: 372.4 MB / 1.623 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/2.991, allocations: 1.533 MB / 2.486 GB, free: 370.8 MB / 1.623 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007459/2.998, allocations: 0.6185 MB / 2.486 GB, free: 370.2 MB / 1.623 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.336/5.334, allocations: 1.258 GB / 3.744 GB, free: 332.4 MB / 1.623 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003919/5.338, allocations: 3.015 MB / 3.747 GB, free: 329.4 MB / 1.623 GB Notification: Performance of simCode: alias equations: time 0.004471/5.343, allocations: 1.697 MB / 3.749 GB, free: 327.8 MB / 1.623 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004971/5.348, allocations: 2.366 MB / 3.751 GB, free: 325.5 MB / 1.623 GB Notification: Performance of SimCode: time 1.933e-06/5.348, allocations: 0 / 3.751 GB, free: 325.5 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3386/5.686, allocations: 288.7 MB / 4.033 GB, free: 38.44 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.9/31.59, allocations: 11.66 kB / 4.033 GB, free: 38.43 MB / 1.623 GB " [Timeout remaining time 268] (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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 39.36714761890471]