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.001678/0.001678, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001934/0.001934, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.634/1.634, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.918/2.918, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") [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.002055/0.002055, allocations: 67.91 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9348/0.9368, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007858/0.9447, allocations: 7.272 MB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2021/1.147, allocations: 140.8 MB / 1.299 GB, free: 13.8 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/1.15, allocations: 50.78 kB / 1.299 GB, free: 13.78 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.007893/1.158, allocations: 2.103 MB / 1.301 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004665/1.162, allocations: 1.302 MB / 1.302 GB, free: 11.88 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00493/1.167, allocations: 1.504 MB / 1.303 GB, free: 10.73 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00846/1.176, allocations: 5.783 MB / 1.309 GB, free: 7.012 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/1.177, allocations: 0.7289 MB / 1.31 GB, free: 6.484 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/1.181, allocations: 1.739 MB / 1.311 GB, free: 5.48 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/1.184, allocations: 1.535 MB / 1.313 GB, free: 4.508 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/1.186, allocations: 278.7 kB / 1.313 GB, free: 4.508 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00674/1.192, allocations: 2.599 MB / 1.316 GB, free: 3.031 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.004333/1.197, allocations: 2.851 MB / 1.318 GB, free: 180 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003399/1.2, allocations: 1.124 MB / 1.32 GB, free: 15.04 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/1.212, allocations: 5.302 MB / 1.325 GB, free: 9.727 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.212, allocations: 0 / 1.325 GB, free: 9.727 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.665e-06/1.212, allocations: 4 kB / 1.325 GB, free: 9.723 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002125/1.212, allocations: 0 / 1.325 GB, free: 9.723 MB / 1.17 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.0128/1.225, allocations: 3.406 MB / 1.328 GB, free: 6.258 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/1.225, allocations: 15.97 kB / 1.328 GB, free: 6.242 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/1.229, allocations: 450.8 kB / 1.329 GB, free: 5.801 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/1.24, allocations: 7.394 MB / 1.336 GB, free: 14.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/1.24, allocations: 138.9 kB / 1.336 GB, free: 14.2 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006305/1.241, allocations: 184 kB / 1.336 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004666/1.245, allocations: 2.162 MB / 1.338 GB, free: 11.71 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/1.245, allocations: 0 / 1.338 GB, free: 11.71 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/1.246, allocations: 68 kB / 1.338 GB, free: 11.64 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/1.246, allocations: 36 kB / 1.338 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/1.249, allocations: 1.886 MB / 1.34 GB, free: 9.711 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/1.266, allocations: 9.335 MB / 1.349 GB, free: 284 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/1.269, allocations: 1.544 MB / 1.351 GB, free: 14.71 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/1.27, allocations: 0.8761 MB / 1.352 GB, free: 13.83 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.793e-05/1.27, allocations: 32.97 kB / 1.352 GB, free: 13.8 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002164/1.273, allocations: 1.266 MB / 1.353 GB, free: 12.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=117): time 3.466e-06/1.273, allocations: 4 kB / 1.353 GB, free: 12.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=117): time 0.007016/1.28, allocations: 3.182 MB / 1.356 GB, free: 9.27 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002772/1.28, allocations: 322.5 kB / 1.356 GB, free: 8.902 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01687/1.297, allocations: 11.52 MB / 1.368 GB, free: 13.34 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/1.297, allocations: 65.7 kB / 1.368 GB, free: 13.27 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.299, allocations: 1.001 MB / 1.369 GB, free: 12.26 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006954/1.3, allocations: 420.5 kB / 1.369 GB, free: 11.84 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004155/1.304, allocations: 2.724 MB / 1.372 GB, free: 9.105 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.304, allocations: 305.1 kB / 1.372 GB, free: 8.805 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02316/1.327, allocations: 20.09 MB / 1.392 GB, free: 4.695 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02446/1.352, allocations: 20.8 MB / 1.412 GB, free: 15.81 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02865/1.38, allocations: 23.35 MB / 1.435 GB, free: 8.32 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.51e-05/1.38, allocations: 0 / 1.435 GB, free: 8.32 MB / 1.279 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05531/1.436, allocations: 44.34 MB / 1.478 GB, free: 11.84 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002665/1.436, allocations: 137.6 kB / 1.478 GB, free: 11.7 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/1.436, allocations: 4 kB / 1.478 GB, free: 11.7 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/1.437, allocations: 92.92 kB / 1.478 GB, free: 11.6 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/1.439, allocations: 403.4 kB / 1.479 GB, free: 11.21 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/1.441, allocations: 1.508 MB / 1.48 GB, free: 9.59 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/1.444, allocations: 230.3 kB / 1.48 GB, free: 9.363 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007605/1.445, allocations: 120 kB / 1.48 GB, free: 9.246 MB / 1.326 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (279): * Single equations (assignments): 238 * Array equations: 39 * 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.00327/1.448, allocations: 1.516 MB / 1.482 GB, free: 7.715 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.449, allocations: 210.5 kB / 1.482 GB, free: 7.508 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/1.456, allocations: 2.732 MB / 1.485 GB, free: 4.754 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.456, allocations: 12 kB / 1.485 GB, free: 4.742 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.456, allocations: 0 / 1.485 GB, free: 4.742 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/1.456, allocations: 7.969 kB / 1.485 GB, free: 4.734 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/1.459, allocations: 1.317 MB / 1.486 GB, free: 3.383 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.459, allocations: 4 kB / 1.486 GB, free: 3.379 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/1.46, allocations: 183.7 kB / 1.486 GB, free: 3.199 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/1.46, allocations: 76.72 kB / 1.486 GB, free: 3.121 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/1.46, allocations: 39.97 kB / 1.486 GB, free: 3.082 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/1.463, allocations: 1.528 MB / 1.488 GB, free: 1.445 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.463, allocations: 0 / 1.488 GB, free: 1.445 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/1.467, allocations: 2.569 MB / 1.49 GB, free: 14.84 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.469, allocations: 414.1 kB / 1.491 GB, free: 14.44 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/1.469, allocations: 35.94 kB / 1.491 GB, free: 14.4 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.47, allocations: 70.89 kB / 1.491 GB, free: 14.34 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/1.47, allocations: 100.9 kB / 1.491 GB, free: 14.24 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.471, allocations: 63.97 kB / 1.491 GB, free: 14.18 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.00828/1.479, allocations: 7.216 MB / 1.498 GB, free: 6.941 MB / 1.342 GB Notification: Performance of sort global known variables: time 2.21e-07/1.479, allocations: 7.938 kB / 1.498 GB, free: 6.934 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.003988/1.483, allocations: 1.415 MB / 1.499 GB, free: 5.516 MB / 1.342 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.00366/1.487, allocations: 0.9931 MB / 1.5 GB, free: 4.719 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.02702/1.514, allocations: 21.93 MB / 1.522 GB, free: 14.74 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.514, allocations: 3.984 kB / 1.522 GB, free: 14.74 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003156/1.517, allocations: 1.451 MB / 1.523 GB, free: 13.26 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/1.52, allocations: 423.2 kB / 1.524 GB, free: 12.87 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/1.541, allocations: 11.71 MB / 1.535 GB, free: 1.094 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005253/1.546, allocations: 2.475 MB / 1.537 GB, free: 14.58 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.002267/1.548, allocations: 0.5179 MB / 1.538 GB, free: 14.05 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000869/1.549, allocations: 192.4 kB / 1.538 GB, free: 13.86 MB / 1.389 GB Notification: Performance of SimCode: time 1.804e-06/1.549, allocations: 0 / 1.538 GB, free: 13.86 MB / 1.389 GB Notification: Performance of Templates: time 0.09665/1.646, allocations: 48.39 MB / 1.585 GB, free: 13.81 MB / 1.436 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 400] 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: 11.291244452935643]