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.001594/0.001594, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.364/2.364, allocations: 390.2 MB / 0.6646 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.89 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7941/0.7955, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009965/0.8055, allocations: 6.983 MB / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2025/1.008, allocations: 159.4 MB / 1.112 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/1.01, allocations: 39.81 kB / 1.112 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005848/1.016, allocations: 1.961 MB / 1.114 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004208/1.021, allocations: 1.175 MB / 1.115 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/1.024, allocations: 1.424 MB / 1.117 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005682/1.03, allocations: 5.221 MB / 1.122 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/1.032, allocations: 1.178 MB / 1.123 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/1.035, allocations: 1.644 MB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/1.037, allocations: 1.459 MB / 1.126 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005555/1.037, allocations: 276 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006042/1.044, allocations: 2.317 MB / 1.128 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003266/1.047, allocations: 2.84 MB / 1.131 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/1.049, allocations: 1.36 MB / 1.132 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008734/1.058, allocations: 5.041 MB / 1.137 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.058, allocations: 0 / 1.137 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.466e-06/1.058, allocations: 0 / 1.137 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001132/1.058, allocations: 4 kB / 1.137 GB, free: 0.8594 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.007304/1.065, allocations: 3.358 MB / 1.141 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.065, allocations: 8.031 kB / 1.141 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/1.066, allocations: 357.3 kB / 1.141 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008157/1.075, allocations: 7.402 MB / 1.148 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/1.075, allocations: 142.9 kB / 1.148 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/1.075, allocations: 188 kB / 1.149 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/1.078, allocations: 1.956 MB / 1.15 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/1.078, allocations: 3.938 kB / 1.15 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/1.078, allocations: 67.98 kB / 1.151 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/1.078, allocations: 36 kB / 1.151 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/1.081, allocations: 1.986 MB / 1.152 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/1.095, allocations: 10.17 MB / 1.162 GB, free: 6.848 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/1.098, allocations: 1.784 MB / 1.164 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/1.099, allocations: 1.087 MB / 1.165 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.636e-05/1.1, allocations: 41.08 kB / 1.165 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/1.101, allocations: 1.192 MB / 1.166 GB, free: 2.715 MB / 0.92 GB Notification: Performance of pre-optimization done (n=117): time 2.935e-06/1.101, allocations: 0 / 1.166 GB, free: 2.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=117): time 0.006633/1.108, allocations: 3.463 MB / 1.17 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002293/1.108, allocations: 338.5 kB / 1.17 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/1.122, allocations: 11.59 MB / 1.181 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005457/1.123, allocations: 65.7 kB / 1.182 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/1.124, allocations: 0.9685 MB / 1.182 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000528/1.125, allocations: 398.5 kB / 1.183 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002303/1.127, allocations: 2.668 MB / 1.185 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.127, allocations: 305.1 kB / 1.186 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01867/1.146, allocations: 20.11 MB / 1.205 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02072/1.167, allocations: 20.7 MB / 1.226 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6025/1.769, allocations: 23.56 MB / 1.249 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/1.769, allocations: 0.9375 kB / 1.249 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04417/1.813, allocations: 44.23 MB / 1.292 GB, free: 256 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002448/1.814, allocations: 170.8 kB / 1.292 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/1.814, allocations: 0.875 kB / 1.292 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/1.814, allocations: 94.22 kB / 1.292 GB, free: 255.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/1.816, allocations: 411.4 kB / 1.292 GB, free: 255.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/1.818, allocations: 1.629 MB / 1.294 GB, free: 253.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/1.82, allocations: 240.2 kB / 1.294 GB, free: 253.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/1.821, allocations: 111.9 kB / 1.294 GB, free: 253.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.001749/1.822, allocations: 1.549 MB / 1.296 GB, free: 252 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/1.823, allocations: 213 kB / 1.296 GB, free: 251.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006007/1.829, allocations: 2.937 MB / 1.299 GB, free: 249 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.829, allocations: 12 kB / 1.299 GB, free: 248.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.829, allocations: 7.25 kB / 1.299 GB, free: 248.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.829, allocations: 11.91 kB / 1.299 GB, free: 248.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/1.832, allocations: 1.786 MB / 1.301 GB, free: 247.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.832, allocations: 0 / 1.301 GB, free: 247.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/1.833, allocations: 183.8 kB / 1.301 GB, free: 247 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000492/1.833, allocations: 72.12 kB / 1.301 GB, free: 246.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/1.833, allocations: 43.16 kB / 1.301 GB, free: 246.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/1.835, allocations: 1.659 MB / 1.303 GB, free: 245.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.835, allocations: 6.375 kB / 1.303 GB, free: 245.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004445/1.84, allocations: 2.782 MB / 1.305 GB, free: 242.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.841, allocations: 490.4 kB / 1.306 GB, free: 241.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/1.841, allocations: 31.98 kB / 1.306 GB, free: 241.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/1.842, allocations: 73.73 kB / 1.306 GB, free: 241.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/1.842, allocations: 100.8 kB / 1.306 GB, free: 241.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-05/1.842, allocations: 63.91 kB / 1.306 GB, free: 241.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004753/1.847, allocations: 7.265 MB / 1.313 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.847, allocations: 0 / 1.313 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004018/1.851, allocations: 1.363 MB / 1.315 GB, free: 233 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.002525/1.854, allocations: 0.951 MB / 1.315 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01934/1.873, allocations: 27.3 MB / 1.342 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.873, allocations: 0.75 kB / 1.342 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002288/1.875, allocations: 1.917 MB / 1.344 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/1.877, allocations: 421.3 kB / 1.344 GB, free: 202.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.891, allocations: 11.33 MB / 1.355 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/1.893, allocations: 3.002 MB / 1.358 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001762/1.895, allocations: 0.5223 MB / 1.359 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/1.896, allocations: 187.4 kB / 1.359 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.896, allocations: 4 kB / 1.359 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.08885/1.985, allocations: 46.83 MB / 1.405 GB, free: 141.1 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