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.001387/0.001387, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001571/0.001571, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.48 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.365/2.365, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001976, allocations: 71.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.7009, allocations: 140.3 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008665/0.7097, allocations: 6.952 MB / 0.9559 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2054/0.9151, allocations: 157.1 MB / 1.109 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.9181, allocations: 31.81 kB / 1.109 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006103/0.9243, allocations: 1.791 MB / 1.111 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004992/0.9293, allocations: 1.095 MB / 1.112 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.9341, allocations: 1.294 MB / 1.113 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006345/0.9404, allocations: 5.237 MB / 1.119 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.9423, allocations: 1.17 MB / 1.12 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.9455, allocations: 1.717 MB / 1.121 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.9481, allocations: 1.502 MB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004851/0.9486, allocations: 276 kB / 1.123 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004503/0.9531, allocations: 2.329 MB / 1.125 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002568/0.9557, allocations: 2.843 MB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.9575, allocations: 1.36 MB / 1.129 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009192/0.9667, allocations: 5.041 MB / 1.134 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.9667, allocations: 0 / 1.134 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.494e-06/0.9667, allocations: 4 kB / 1.134 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.372e-05/0.9668, allocations: 0 / 1.134 GB, free: 3.625 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.007356/0.9742, allocations: 3.358 MB / 1.138 GB, free: 196 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.9743, allocations: 8.031 kB / 1.138 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.9756, allocations: 361.3 kB / 1.138 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008618/0.9843, allocations: 7.402 MB / 1.145 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.9844, allocations: 138.9 kB / 1.145 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.9847, allocations: 188 kB / 1.146 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.9881, allocations: 1.964 MB / 1.147 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.9882, allocations: 3.984 kB / 1.147 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.9883, allocations: 71.94 kB / 1.148 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.9884, allocations: 36 kB / 1.148 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.9914, allocations: 1.978 MB / 1.15 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/1.006, allocations: 10.17 MB / 1.159 GB, free: 9.605 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/1.009, allocations: 1.788 MB / 1.161 GB, free: 7.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/1.01, allocations: 1.084 MB / 1.162 GB, free: 6.719 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.843e-05/1.01, allocations: 41.03 kB / 1.162 GB, free: 6.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/1.012, allocations: 1.195 MB / 1.163 GB, free: 5.469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=117): time 3.115e-06/1.012, allocations: 0 / 1.163 GB, free: 5.469 MB / 0.92 GB Notification: Performance of matching and sorting (n=117): time 0.006914/1.019, allocations: 3.455 MB / 1.167 GB, free: 1.977 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002407/1.019, allocations: 342.5 kB / 1.167 GB, free: 1.594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/1.035, allocations: 11.59 MB / 1.178 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006201/1.036, allocations: 65.7 kB / 1.179 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.037, allocations: 0.9645 MB / 1.179 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006201/1.037, allocations: 394.5 kB / 1.18 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002596/1.04, allocations: 2.676 MB / 1.182 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.04, allocations: 305.1 kB / 1.183 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01834/1.058, allocations: 20.1 MB / 1.202 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02127/1.08, allocations: 20.7 MB / 1.223 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02422/1.104, allocations: 23.58 MB / 1.246 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-05/1.104, allocations: 0 / 1.246 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.4805/1.585, allocations: 44.22 MB / 1.289 GB, free: 261 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002313/1.585, allocations: 164.4 kB / 1.289 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/1.585, allocations: 6.062 kB / 1.289 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006562/1.586, allocations: 88.86 kB / 1.289 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/1.587, allocations: 404.3 kB / 1.289 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/1.589, allocations: 1.639 MB / 1.291 GB, free: 258.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/1.592, allocations: 246.4 kB / 1.291 GB, free: 258.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/1.592, allocations: 105.8 kB / 1.291 GB, free: 258.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.001774/1.594, allocations: 1.544 MB / 1.293 GB, free: 257 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/1.594, allocations: 207.5 kB / 1.293 GB, free: 257 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/1.599, allocations: 2.951 MB / 1.296 GB, free: 254 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.599, allocations: 12 kB / 1.296 GB, free: 254 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.599, allocations: 0 / 1.296 GB, free: 254 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.599, allocations: 7.922 kB / 1.296 GB, free: 254 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/1.601, allocations: 1.786 MB / 1.298 GB, free: 252.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.601, allocations: 3.984 kB / 1.298 GB, free: 252.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/1.601, allocations: 185.1 kB / 1.298 GB, free: 252.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/1.602, allocations: 72.45 kB / 1.298 GB, free: 252 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.607e-05/1.602, allocations: 43.33 kB / 1.298 GB, free: 252 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/1.603, allocations: 1.663 MB / 1.3 GB, free: 250.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.603, allocations: 0 / 1.3 GB, free: 250.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/1.607, allocations: 2.775 MB / 1.302 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/1.608, allocations: 496.2 kB / 1.303 GB, free: 246.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/1.608, allocations: 31.09 kB / 1.303 GB, free: 246.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/1.609, allocations: 75.64 kB / 1.303 GB, free: 246.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/1.609, allocations: 96.86 kB / 1.303 GB, free: 246.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.61, allocations: 59.97 kB / 1.303 GB, free: 246.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004544/1.614, allocations: 7.269 MB / 1.31 GB, free: 239.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.614, allocations: 3.25 kB / 1.31 GB, free: 239.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00298/1.617, allocations: 1.359 MB / 1.312 GB, free: 238.1 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.002193/1.619, allocations: 0.951 MB / 1.312 GB, free: 237.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01842/1.638, allocations: 27.31 MB / 1.339 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.638, allocations: 0 / 1.339 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/1.64, allocations: 1.902 MB / 1.341 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.642, allocations: 427.4 kB / 1.341 GB, free: 207.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/1.656, allocations: 12.61 MB / 1.354 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/1.658, allocations: 3.006 MB / 1.357 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001835/1.66, allocations: 0.5145 MB / 1.357 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/1.66, allocations: 195.3 kB / 1.357 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.66, allocations: 0 / 1.357 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.08885/1.749, allocations: 46.71 MB / 1.403 GB, free: 145 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