Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008391/0.000839, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005649/0.005649, allocations: 170.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7072, allocations: 142.4 MB / 0.955 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005979/0.7132, allocations: 5.321 MB / 0.9602 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.88, allocations: 151 MB / 1.108 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.8813, allocations: 23.88 kB / 1.108 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005204/0.8865, allocations: 1.628 MB / 1.109 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.889, allocations: 0.6878 MB / 1.11 GB, free: 104 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.8916, allocations: 0.8954 MB / 1.111 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003626/0.8952, allocations: 3.377 MB / 1.114 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.8965, allocations: 0.8977 MB / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.8977, allocations: 0.9144 MB / 1.116 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.8987, allocations: 0.8516 MB / 1.117 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.8989, allocations: 52 kB / 1.117 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/0.9022, allocations: 1.966 MB / 1.119 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009598/0.9032, allocations: 1.193 MB / 1.12 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007533/0.9039, allocations: 0.8207 MB / 1.121 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004272/0.9082, allocations: 3.712 MB / 1.124 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.9082, allocations: 0 / 1.124 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9082, allocations: 0 / 1.124 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.934e-05/0.9083, allocations: 0 / 1.124 GB, free: 1.348 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.004054/0.9123, allocations: 2.181 MB / 1.126 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.9124, allocations: 8.031 kB / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.9131, allocations: 274.2 kB / 1.127 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.9165, allocations: 2.993 MB / 1.13 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.9166, allocations: 110.4 kB / 1.13 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.9168, allocations: 152 kB / 1.13 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.9193, allocations: 1.545 MB / 1.131 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.9193, allocations: 3.984 kB / 1.131 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.9194, allocations: 56 kB / 1.131 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.9195, allocations: 32 kB / 1.132 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.9218, allocations: 1.613 MB / 1.133 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007774/0.9296, allocations: 5.468 MB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.9317, allocations: 1.442 MB / 1.14 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.9329, allocations: 0.8902 MB / 1.141 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.933, allocations: 37.17 kB / 1.141 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.9344, allocations: 0.9576 MB / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.9344, allocations: 0 / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=104): time 0.004192/0.9386, allocations: 2.676 MB / 1.144 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002267/0.9388, allocations: 332.2 kB / 1.145 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004873/0.9437, allocations: 4.377 MB / 1.149 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.9439, allocations: 65.69 kB / 1.149 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006503/0.9446, allocations: 0.7007 MB / 1.15 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.9449, allocations: 339.2 kB / 1.15 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007198/0.9457, allocations: 0.8582 MB / 1.151 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.9458, allocations: 309 kB / 1.151 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006631/0.9524, allocations: 7.043 MB / 1.158 GB, free: 14.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00656/0.959, allocations: 7.313 MB / 1.165 GB, free: 7.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008533/0.9675, allocations: 8.995 MB / 1.174 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.9676, allocations: 4 kB / 1.174 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01568/0.9833, allocations: 15.86 MB / 1.189 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.9834, allocations: 161.6 kB / 1.19 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.9835, allocations: 3.938 kB / 1.19 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.9835, allocations: 12 kB / 1.19 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.9847, allocations: 323.6 kB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.9847, allocations: 11.97 kB / 1.19 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.986, allocations: 207.5 kB / 1.19 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.9861, allocations: 79.91 kB / 1.19 GB, free: 13.43 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00113/0.9873, allocations: 0.8448 MB / 1.191 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.9875, allocations: 150 kB / 1.191 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.9911, allocations: 2.383 MB / 1.193 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.9911, allocations: 15.98 kB / 1.193 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9912, allocations: 0 / 1.193 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.9912, allocations: 3.984 kB / 1.193 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.9926, allocations: 1.365 MB / 1.195 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.9927, allocations: 0 / 1.195 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.9933, allocations: 159.8 kB / 1.195 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.9933, allocations: 4 kB / 1.195 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.9934, allocations: 35.97 kB / 1.195 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.9934, allocations: 4 kB / 1.195 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9934, allocations: 0 / 1.195 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.9966, allocations: 2.26 MB / 1.197 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.9972, allocations: 438.5 kB / 1.198 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.9973, allocations: 24 kB / 1.198 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/0.9982, allocations: 91.92 kB / 1.198 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.9984, allocations: 80.88 kB / 1.198 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.841e-05/0.9985, allocations: 55.97 kB / 1.198 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002577/1.001, allocations: 2.803 MB / 1.201 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.001, allocations: 0 / 1.201 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002219/1.003, allocations: 1.046 MB / 1.202 GB, free: 1.551 MB / 0.9512 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002243/1.006, allocations: 0.9458 MB / 1.203 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009914/1.015, allocations: 10.71 MB / 1.213 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.016, allocations: 0 / 1.213 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.017, allocations: 1.532 MB / 1.214 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.019, allocations: 304.2 kB / 1.215 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007716/1.027, allocations: 6.482 MB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/1.028, allocations: 1.796 MB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001238/1.029, allocations: 374.7 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/1.03, allocations: 147.4 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of SimCode: time 2.154e-06/1.03, allocations: 0 / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of Templates: time 0.5441/1.574, allocations: 29.44 MB / 1.252 GB, free: 282.9 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches