Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 97.64 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.00854/0.00854, allocations: 169.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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.351/2.351, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7107, allocations: 142.4 MB / 0.955 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006178/0.717, allocations: 6.481 MB / 0.9614 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.8809, allocations: 151.9 MB / 1.11 GB, free: 376 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.8825, allocations: 31.75 kB / 1.11 GB, free: 344 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005242/0.8877, allocations: 1.791 MB / 1.112 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.8909, allocations: 1.07 MB / 1.113 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.8941, allocations: 1.243 MB / 1.114 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005271/0.8993, allocations: 5.209 MB / 1.119 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.9009, allocations: 1.11 MB / 1.12 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.9034, allocations: 1.272 MB / 1.121 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.9053, allocations: 1.225 MB / 1.122 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.9055, allocations: 72 kB / 1.122 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.9091, allocations: 2.013 MB / 1.124 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002874/0.912, allocations: 2.605 MB / 1.127 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002161/0.9142, allocations: 1.112 MB / 1.128 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006685/0.9209, allocations: 4.798 MB / 1.133 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9209, allocations: 0 / 1.133 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9209, allocations: 4 kB / 1.133 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.172e-05/0.9209, allocations: 0 / 1.133 GB, free: 8.715 MB / 0.8887 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.004949/0.9259, allocations: 2.818 MB / 1.136 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.926, allocations: 8.031 kB / 1.136 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.9271, allocations: 373.2 kB / 1.136 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007183/0.9343, allocations: 7.406 MB / 1.143 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.9344, allocations: 138.9 kB / 1.143 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.9347, allocations: 188 kB / 1.143 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003059/0.9378, allocations: 1.96 MB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.9378, allocations: 4 kB / 1.145 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.938, allocations: 64 kB / 1.145 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.938, allocations: 36 kB / 1.145 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/0.9409, allocations: 1.997 MB / 1.147 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.9531, allocations: 10.25 MB / 1.157 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.956, allocations: 1.801 MB / 1.159 GB, free: 13.33 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.9573, allocations: 1.087 MB / 1.16 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.469e-05/0.9574, allocations: 44.88 kB / 1.16 GB, free: 12.19 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/0.9591, allocations: 1.203 MB / 1.161 GB, free: 10.97 MB / 0.92 GB Notification: Performance of pre-optimization done (n=117): time 2.625e-06/0.9591, allocations: 0 / 1.161 GB, free: 10.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=117): time 0.006276/0.9654, allocations: 3.459 MB / 1.165 GB, free: 7.477 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.9656, allocations: 350.5 kB / 1.165 GB, free: 7.086 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/0.9803, allocations: 11.58 MB / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0007062/0.9811, allocations: 69.64 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.9828, allocations: 0.9684 MB / 1.177 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008827/0.9837, allocations: 398.5 kB / 1.178 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002521/0.9862, allocations: 2.358 MB / 1.18 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9864, allocations: 301.1 kB / 1.18 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02087/1.007, allocations: 20.11 MB / 1.2 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0211/1.028, allocations: 20.7 MB / 1.22 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02288/1.051, allocations: 23.57 MB / 1.243 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/1.051, allocations: 4 kB / 1.243 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.5566/1.608, allocations: 44.24 MB / 1.287 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/1.608, allocations: 162.9 kB / 1.287 GB, free: 263.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/1.608, allocations: 4 kB / 1.287 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/1.609, allocations: 92.64 kB / 1.287 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.61, allocations: 410.3 kB / 1.287 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/1.612, allocations: 1.534 MB / 1.289 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/1.614, allocations: 249.2 kB / 1.289 GB, free: 261.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/1.614, allocations: 111.1 kB / 1.289 GB, free: 261.5 MB / 0.9981 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): 241 * Array equations: 36 * 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.001652/1.616, allocations: 1.543 MB / 1.29 GB, free: 260 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/1.616, allocations: 211.1 kB / 1.291 GB, free: 259.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/1.621, allocations: 2.954 MB / 1.294 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.621, allocations: 12 kB / 1.294 GB, free: 257.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.621, allocations: 0 / 1.294 GB, free: 257.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.621, allocations: 7.969 kB / 1.294 GB, free: 257.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/1.623, allocations: 1.782 MB / 1.295 GB, free: 255.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.623, allocations: 0 / 1.295 GB, free: 255.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/1.623, allocations: 193.2 kB / 1.296 GB, free: 255.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005125/1.624, allocations: 88.2 kB / 1.296 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.902e-05/1.624, allocations: 39.97 kB / 1.296 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/1.626, allocations: 1.55 MB / 1.297 GB, free: 253.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.626, allocations: 3.938 kB / 1.297 GB, free: 253.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/1.629, allocations: 2.786 MB / 1.3 GB, free: 250.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/1.63, allocations: 0.5554 MB / 1.3 GB, free: 250.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003347/1.63, allocations: 27.97 kB / 1.3 GB, free: 250 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.631, allocations: 96.06 kB / 1.301 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.632, allocations: 92.86 kB / 1.301 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.632, allocations: 67.25 kB / 1.301 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004454/1.636, allocations: 7.261 MB / 1.308 GB, free: 242.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.636, allocations: 0 / 1.308 GB, free: 242.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003529/1.64, allocations: 1.364 MB / 1.309 GB, free: 241.2 MB / 0.9981 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.002364/1.642, allocations: 0.9486 MB / 1.31 GB, free: 240.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01868/1.661, allocations: 26.78 MB / 1.336 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.661, allocations: 4.125 kB / 1.336 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002137/1.663, allocations: 1.903 MB / 1.338 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/1.665, allocations: 401.5 kB / 1.338 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/1.679, allocations: 12.69 MB / 1.351 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/1.681, allocations: 3.007 MB / 1.354 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001462/1.682, allocations: 0.5145 MB / 1.354 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/1.683, allocations: 191.4 kB / 1.354 GB, free: 195 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.683, allocations: 0 / 1.354 GB, free: 195 MB / 0.9981 GB Notification: Performance of Templates: time 0.05981/1.743, allocations: 41.74 MB / 1.395 GB, free: 153.5 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches