Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001457/0.001457, allocations: 112.6 kB / 16.37 MB, free: 6 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.001641/0.001641, allocations: 196 kB / 17.31 MB, free: 5.613 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.416/2.416, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.92 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2667, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009192/0.2759, allocations: 8.214 MB / 1.035 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6044/0.8804, allocations: 159.5 MB / 1.191 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.8818, allocations: 40.53 kB / 1.191 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004742/0.8866, allocations: 1.979 MB / 1.193 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.8897, allocations: 1.282 MB / 1.194 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.893, allocations: 1.441 MB / 1.195 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005388/0.8984, allocations: 5.452 MB / 1.2 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.8999, allocations: 1.117 MB / 1.202 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.9023, allocations: 1.7 MB / 1.203 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.9042, allocations: 1.485 MB / 1.205 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003851/0.9046, allocations: 277 kB / 1.205 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.9085, allocations: 2.366 MB / 1.207 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.9106, allocations: 2.836 MB / 1.21 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.9121, allocations: 1.407 MB / 1.211 GB, free: 376 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006423/0.9185, allocations: 5.173 MB / 1.216 GB, free: 11.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9185, allocations: 4 kB / 1.216 GB, free: 11.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9185, allocations: 0 / 1.216 GB, free: 11.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.509e-05/0.9186, allocations: 0 / 1.216 GB, free: 11.18 MB / 0.92 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.005801/0.9244, allocations: 3.393 MB / 1.22 GB, free: 7.711 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.9245, allocations: 11.78 kB / 1.22 GB, free: 7.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.9257, allocations: 361.3 kB / 1.22 GB, free: 7.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007887/0.9336, allocations: 7.449 MB / 1.227 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.9337, allocations: 138.9 kB / 1.228 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.9339, allocations: 184 kB / 1.228 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.9368, allocations: 1.968 MB / 1.23 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.9369, allocations: 3.938 kB / 1.23 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.937, allocations: 67.98 kB / 1.23 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.9371, allocations: 36 kB / 1.23 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.9399, allocations: 1.982 MB / 1.232 GB, free: 11.36 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.952, allocations: 10.58 MB / 1.242 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.9547, allocations: 1.783 MB / 1.244 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.9559, allocations: 1.085 MB / 1.245 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.088e-05/0.956, allocations: 37.08 kB / 1.245 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.9576, allocations: 1.199 MB / 1.246 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=117): time 2.685e-06/0.9576, allocations: 0 / 1.246 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=117): time 0.006095/0.9637, allocations: 3.455 MB / 1.249 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002133/0.964, allocations: 342.5 kB / 1.25 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01323/0.9772, allocations: 11.58 MB / 1.261 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003141/0.9775, allocations: 61.7 kB / 1.261 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009197/0.9785, allocations: 0.9723 MB / 1.262 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.9789, allocations: 398.5 kB / 1.262 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002142/0.9811, allocations: 2.672 MB / 1.265 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.9812, allocations: 305.1 kB / 1.265 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01668/0.9978, allocations: 20.11 MB / 1.285 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01767/1.016, allocations: 20.69 MB / 1.305 GB, free: 15.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02068/1.036, allocations: 23.57 MB / 1.328 GB, free: 7.926 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/1.036, allocations: 4 kB / 1.328 GB, free: 7.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04234/1.079, allocations: 44.22 MB / 1.371 GB, free: 11.56 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/1.079, allocations: 165.9 kB / 1.372 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.079, allocations: 8 kB / 1.372 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/1.08, allocations: 80.78 kB / 1.372 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/1.081, allocations: 415.4 kB / 1.372 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/1.084, allocations: 1.658 MB / 1.374 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/1.086, allocations: 237.5 kB / 1.374 GB, free: 8.859 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/1.086, allocations: 111.9 kB / 1.374 GB, free: 8.75 MB / 1.076 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.002072/1.088, allocations: 1.536 MB / 1.375 GB, free: 7.199 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/1.088, allocations: 209.3 kB / 1.376 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/1.093, allocations: 2.941 MB / 1.379 GB, free: 4.027 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.093, allocations: 15.94 kB / 1.379 GB, free: 4.012 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.093, allocations: 0 / 1.379 GB, free: 4.012 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.093, allocations: 7.969 kB / 1.379 GB, free: 4.004 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/1.096, allocations: 1.786 MB / 1.38 GB, free: 2.164 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.096, allocations: 0 / 1.38 GB, free: 2.164 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008394/1.097, allocations: 183.8 kB / 1.38 GB, free: 1.984 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/1.097, allocations: 68.78 kB / 1.381 GB, free: 1.914 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/1.097, allocations: 47.95 kB / 1.381 GB, free: 1.867 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/1.099, allocations: 1.662 MB / 1.382 GB, free: 60 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.099, allocations: 4.031 kB / 1.382 GB, free: 56 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/1.104, allocations: 2.773 MB / 1.385 GB, free: 13.25 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008963/1.105, allocations: 497.9 kB / 1.385 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/1.105, allocations: 32 kB / 1.385 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/1.106, allocations: 74.11 kB / 1.385 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/1.106, allocations: 96.88 kB / 1.386 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.106, allocations: 59.91 kB / 1.386 GB, free: 12.49 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.006616/1.113, allocations: 7.273 MB / 1.393 GB, free: 5.199 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.21e-07/1.113, allocations: 4 kB / 1.393 GB, free: 5.195 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003116/1.116, allocations: 1.377 MB / 1.394 GB, free: 3.816 MB / 1.092 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.002199/1.118, allocations: 0.9482 MB / 1.395 GB, free: 3.043 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02398/1.142, allocations: 26.77 MB / 1.421 GB, free: 8.234 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.142, allocations: 0.75 kB / 1.421 GB, free: 8.234 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/1.145, allocations: 1.917 MB / 1.423 GB, free: 6.293 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/1.147, allocations: 455 kB / 1.423 GB, free: 5.867 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.161, allocations: 11.12 MB / 1.434 GB, free: 10.7 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002924/1.164, allocations: 3.008 MB / 1.437 GB, free: 7.668 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001585/1.166, allocations: 0.5224 MB / 1.438 GB, free: 7.141 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/1.166, allocations: 195.4 kB / 1.438 GB, free: 6.949 MB / 1.139 GB Notification: Performance of SimCode: time 7.41e-07/1.166, allocations: 0 / 1.438 GB, free: 6.949 MB / 1.139 GB Notification: Performance of Templates: time 0.09733/1.264, allocations: 47.74 MB / 1.485 GB, free: 7.441 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches