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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 194.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 75.88 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8169, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01147/0.8284, allocations: 8.295 MB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2117/1.04, allocations: 160.1 MB / 1.439 GB, free: 11.44 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/1.042, allocations: 43.75 kB / 1.439 GB, free: 11.39 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005298/1.047, allocations: 2.015 MB / 1.441 GB, free: 9.371 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003909/1.051, allocations: 1.294 MB / 1.442 GB, free: 8.074 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00379/1.055, allocations: 1.47 MB / 1.443 GB, free: 6.609 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006678/1.061, allocations: 5.395 MB / 1.449 GB, free: 1.199 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/1.063, allocations: 0.7609 MB / 1.449 GB, free: 400 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/1.066, allocations: 1.695 MB / 1.451 GB, free: 14.69 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/1.069, allocations: 1.608 MB / 1.453 GB, free: 13.08 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005809/1.069, allocations: 276 kB / 1.453 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004663/1.074, allocations: 2.438 MB / 1.455 GB, free: 10.37 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003064/1.077, allocations: 2.851 MB / 1.458 GB, free: 7.512 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/1.079, allocations: 1.395 MB / 1.459 GB, free: 6.109 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.008079/1.087, allocations: 5.213 MB / 1.464 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.087, allocations: 0 / 1.464 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.853e-06/1.087, allocations: 0 / 1.464 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.017e-05/1.087, allocations: 0 / 1.464 GB, free: 0.8789 MB / 1.154 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.007159/1.095, allocations: 3.489 MB / 1.468 GB, free: 13.31 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.095, allocations: 8.031 kB / 1.468 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/1.096, allocations: 386.8 kB / 1.468 GB, free: 12.93 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00967/1.106, allocations: 7.454 MB / 1.475 GB, free: 5.398 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/1.106, allocations: 138.9 kB / 1.476 GB, free: 5.262 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/1.106, allocations: 192 kB / 1.476 GB, free: 5.074 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/1.11, allocations: 1.96 MB / 1.478 GB, free: 3.035 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/1.11, allocations: 0 / 1.478 GB, free: 3.035 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/1.11, allocations: 60 kB / 1.478 GB, free: 2.977 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/1.11, allocations: 36 kB / 1.478 GB, free: 2.941 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/1.114, allocations: 1.986 MB / 1.48 GB, free: 0.9492 MB / 1.17 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.01601/1.13, allocations: 10.61 MB / 1.49 GB, free: 6.121 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/1.133, allocations: 1.576 MB / 1.492 GB, free: 4.539 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/1.134, allocations: 0.9095 MB / 1.492 GB, free: 3.625 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.794e-05/1.134, allocations: 45.08 kB / 1.493 GB, free: 3.582 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001854/1.136, allocations: 1.195 MB / 1.494 GB, free: 2.367 MB / 1.186 GB Notification: Performance of pre-optimization done (n=117): time 2.545e-06/1.136, allocations: 0 / 1.494 GB, free: 2.367 MB / 1.186 GB Notification: Performance of matching and sorting (n=117): time 0.007078/1.143, allocations: 3.491 MB / 1.497 GB, free: 14.84 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002964/1.143, allocations: 346.5 kB / 1.497 GB, free: 14.46 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01625/1.16, allocations: 11.59 MB / 1.509 GB, free: 2.836 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005073/1.16, allocations: 69.7 kB / 1.509 GB, free: 2.762 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/1.162, allocations: 0.9819 MB / 1.51 GB, free: 1.77 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006323/1.162, allocations: 416.6 kB / 1.51 GB, free: 1.359 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002749/1.165, allocations: 2.72 MB / 1.513 GB, free: 14.62 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.165, allocations: 305.1 kB / 1.513 GB, free: 14.32 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02046/1.186, allocations: 20.11 MB / 1.533 GB, free: 10.21 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02216/1.208, allocations: 20.7 MB / 1.553 GB, free: 5.457 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02569/1.233, allocations: 23.57 MB / 1.576 GB, free: 13.75 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/1.233, allocations: 0 / 1.576 GB, free: 13.75 MB / 1.279 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.7473/1.981, allocations: 44.28 MB / 1.619 GB, free: 318.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002635/1.981, allocations: 163.4 kB / 1.619 GB, free: 318.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/1.981, allocations: 7.188 kB / 1.619 GB, free: 318.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/1.982, allocations: 93.09 kB / 1.619 GB, free: 318.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.983, allocations: 398.1 kB / 1.62 GB, free: 318.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/1.985, allocations: 1.645 MB / 1.621 GB, free: 316.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/1.988, allocations: 251.5 kB / 1.622 GB, free: 316.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004357/1.988, allocations: 109.8 kB / 1.622 GB, free: 316.5 MB / 1.295 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.002336/1.991, allocations: 1.538 MB / 1.623 GB, free: 316 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006453/1.991, allocations: 224.5 kB / 1.624 GB, free: 315.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004679/1.996, allocations: 2.965 MB / 1.626 GB, free: 315.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.996, allocations: 12.23 kB / 1.626 GB, free: 315.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.996, allocations: 0 / 1.626 GB, free: 315.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/1.996, allocations: 5.859 kB / 1.626 GB, free: 315.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/1.998, allocations: 1.794 MB / 1.628 GB, free: 314.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.998, allocations: 0 / 1.628 GB, free: 314.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/1.999, allocations: 188.9 kB / 1.628 GB, free: 314.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/2, allocations: 73.94 kB / 1.628 GB, free: 314.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/2, allocations: 39.59 kB / 1.628 GB, free: 314.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/2.001, allocations: 1.657 MB / 1.63 GB, free: 312.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/2.001, allocations: 1.031 kB / 1.63 GB, free: 312.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004032/2.005, allocations: 2.818 MB / 1.633 GB, free: 310.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/2.007, allocations: 0.4893 MB / 1.633 GB, free: 310.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/2.007, allocations: 30.97 kB / 1.633 GB, free: 310.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/2.008, allocations: 78.27 kB / 1.633 GB, free: 310.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/2.008, allocations: 91.03 kB / 1.634 GB, free: 310.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/2.008, allocations: 63.97 kB / 1.634 GB, free: 310.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005868/2.014, allocations: 7.266 MB / 1.641 GB, free: 303.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.3e-07/2.014, allocations: 0 / 1.641 GB, free: 303.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003903/2.018, allocations: 1.401 MB / 1.642 GB, free: 302.5 MB / 1.295 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.003046/2.021, allocations: 0.9632 MB / 1.643 GB, free: 301.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01687/2.038, allocations: 22.04 MB / 1.665 GB, free: 281 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/2.038, allocations: 0 / 1.665 GB, free: 281 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002242/2.04, allocations: 1.526 MB / 1.666 GB, free: 279.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/2.043, allocations: 453.4 kB / 1.666 GB, free: 279.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/2.055, allocations: 11.51 MB / 1.678 GB, free: 267.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/2.057, allocations: 3.009 MB / 1.681 GB, free: 264.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001632/2.059, allocations: 0.5185 MB / 1.681 GB, free: 264.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/2.059, allocations: 191.4 kB / 1.681 GB, free: 264 MB / 1.295 GB Notification: Performance of SimCode: time 1.272e-06/2.059, allocations: 0 / 1.681 GB, free: 264 MB / 1.295 GB Notification: Performance of Templates: time 0.07216/2.132, allocations: 49.64 MB / 1.73 GB, free: 214.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 400] 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_2/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: 11.694117553066462]