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.001424/0.001424, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001442/0.001442, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.809 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.294/3.294, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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: 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.002136/0.002136, allocations: 72.48 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3521, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01148/0.3636, allocations: 7.28 MB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2051/0.5687, allocations: 140.8 MB / 1.47 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.5708, allocations: 55.56 kB / 1.47 GB, free: 13.19 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005912/0.5767, allocations: 2.089 MB / 1.472 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.5808, allocations: 1.309 MB / 1.473 GB, free: 9.781 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004292/0.5851, allocations: 1.497 MB / 1.475 GB, free: 8.293 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00736/0.5924, allocations: 5.789 MB / 1.481 GB, free: 2.492 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.5943, allocations: 0.7266 MB / 1.481 GB, free: 1.715 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.5976, allocations: 1.749 MB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003385/0.601, allocations: 1.533 MB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0009383/0.602, allocations: 276 kB / 1.485 GB, free: 14.15 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005203/0.6072, allocations: 2.598 MB / 1.487 GB, free: 11.55 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003191/0.6104, allocations: 2.843 MB / 1.49 GB, free: 8.703 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.6119, allocations: 1.131 MB / 1.491 GB, free: 7.566 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008386/0.6203, allocations: 5.294 MB / 1.496 GB, free: 2.254 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6203, allocations: 0 / 1.496 GB, free: 2.254 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6203, allocations: 0 / 1.496 GB, free: 2.254 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001148/0.6204, allocations: 0 / 1.496 GB, free: 2.254 MB / 1.186 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.006773/0.6272, allocations: 3.429 MB / 1.5 GB, free: 14.76 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.6273, allocations: 8.031 kB / 1.5 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.6296, allocations: 446.8 kB / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008926/0.6385, allocations: 7.387 MB / 1.507 GB, free: 6.859 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.6386, allocations: 138.9 kB / 1.507 GB, free: 6.723 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.6389, allocations: 184 kB / 1.508 GB, free: 6.543 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.6423, allocations: 2.162 MB / 1.51 GB, free: 4.234 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.6423, allocations: 3.938 kB / 1.51 GB, free: 4.23 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.6425, allocations: 64 kB / 1.51 GB, free: 4.168 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.6425, allocations: 39.98 kB / 1.51 GB, free: 4.129 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/0.6457, allocations: 1.886 MB / 1.512 GB, free: 2.23 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.6594, allocations: 9.335 MB / 1.521 GB, free: 8.801 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.6623, allocations: 1.553 MB / 1.522 GB, free: 7.23 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.6637, allocations: 0.876 MB / 1.523 GB, free: 6.348 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.066e-05/0.6638, allocations: 32.97 kB / 1.523 GB, free: 6.312 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/0.6658, allocations: 1.27 MB / 1.524 GB, free: 4.992 MB / 1.217 GB Notification: Performance of pre-optimization done (n=117): time 3.146e-06/0.6658, allocations: 3.938 kB / 1.524 GB, free: 4.988 MB / 1.217 GB Notification: Performance of matching and sorting (n=117): time 0.006362/0.6721, allocations: 3.189 MB / 1.528 GB, free: 1.773 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002346/0.6724, allocations: 314.6 kB / 1.528 GB, free: 1.418 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01486/0.6872, allocations: 11.53 MB / 1.539 GB, free: 5.848 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004485/0.6877, allocations: 69.69 kB / 1.539 GB, free: 5.773 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.6887, allocations: 0.9892 MB / 1.54 GB, free: 4.773 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/0.6892, allocations: 416.6 kB / 1.541 GB, free: 4.363 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002572/0.6918, allocations: 2.728 MB / 1.543 GB, free: 1.621 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6919, allocations: 301.1 kB / 1.544 GB, free: 1.324 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02105/0.7129, allocations: 20.09 MB / 1.563 GB, free: 13.23 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02232/0.7353, allocations: 20.8 MB / 1.583 GB, free: 8.336 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02587/0.7611, allocations: 23.36 MB / 1.606 GB, free: 0.8438 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-05/0.7612, allocations: 4 kB / 1.606 GB, free: 0.8398 MB / 1.295 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.8744/1.636, allocations: 44.32 MB / 1.65 GB, free: 255.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002145/1.636, allocations: 141.2 kB / 1.65 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/1.636, allocations: 4 kB / 1.65 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/1.636, allocations: 89.03 kB / 1.65 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/1.638, allocations: 406.5 kB / 1.65 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/1.64, allocations: 1.51 MB / 1.652 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.643, allocations: 237.2 kB / 1.652 GB, free: 253.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/1.643, allocations: 108.7 kB / 1.652 GB, free: 253.6 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.00171/1.645, allocations: 1.52 MB / 1.653 GB, free: 252.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/1.645, allocations: 220.6 kB / 1.654 GB, free: 252.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/1.649, allocations: 2.72 MB / 1.656 GB, free: 249.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/1.649, allocations: 12 kB / 1.656 GB, free: 249.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.649, allocations: 2.797 kB / 1.656 GB, free: 249.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.649, allocations: 9.531 kB / 1.656 GB, free: 249.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/1.651, allocations: 1.313 MB / 1.658 GB, free: 248.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.651, allocations: 0.6094 kB / 1.658 GB, free: 248.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/1.652, allocations: 183.2 kB / 1.658 GB, free: 248.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/1.653, allocations: 79.11 kB / 1.658 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/1.653, allocations: 39.97 kB / 1.658 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/1.654, allocations: 1.529 MB / 1.659 GB, free: 246.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.654, allocations: 0 / 1.659 GB, free: 246.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/1.658, allocations: 2.574 MB / 1.662 GB, free: 244.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.659, allocations: 411.7 kB / 1.662 GB, free: 244.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/1.659, allocations: 34.77 kB / 1.662 GB, free: 244.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/1.66, allocations: 79.2 kB / 1.662 GB, free: 244.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/1.661, allocations: 95.45 kB / 1.663 GB, free: 244.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.661, allocations: 60.72 kB / 1.663 GB, free: 244.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005424/1.666, allocations: 7.217 MB / 1.67 GB, free: 237.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.666, allocations: 2.281 kB / 1.67 GB, free: 237.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003453/1.67, allocations: 1.412 MB / 1.671 GB, free: 236.2 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.00318/1.673, allocations: 1.007 MB / 1.672 GB, free: 235.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0165/1.689, allocations: 21.94 MB / 1.693 GB, free: 214.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.689, allocations: 0 / 1.693 GB, free: 214.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002006/1.691, allocations: 1.442 MB / 1.695 GB, free: 213.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.693, allocations: 418.4 kB / 1.695 GB, free: 213.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/1.706, allocations: 11.71 MB / 1.707 GB, free: 201.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/1.708, allocations: 2.48 MB / 1.709 GB, free: 199.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001694/1.71, allocations: 0.514 MB / 1.71 GB, free: 198.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/1.711, allocations: 187.4 kB / 1.71 GB, free: 198.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.172e-06/1.711, allocations: 0 / 1.71 GB, free: 198.5 MB / 1.295 GB Notification: Performance of Templates: time 0.07169/1.782, allocations: 52.62 MB / 1.761 GB, free: 146.3 MB / 1.295 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 -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/jenkins/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: 12.136957455426455]