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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001587/0.001587, allocations: 103.1 kB / 16.35 MB, free: 5.828 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.002018/0.002018, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 62.83 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2722, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00872/0.281, allocations: 6.988 MB / 0.9579 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7559/1.037, allocations: 159.4 MB / 1.114 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/1.039, allocations: 39.3 kB / 1.114 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006974/1.046, allocations: 1.952 MB / 1.116 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004339/1.051, allocations: 1.18 MB / 1.117 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004271/1.055, allocations: 1.429 MB / 1.118 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007184/1.062, allocations: 5.237 MB / 1.123 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/1.065, allocations: 1.172 MB / 1.124 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/1.071, allocations: 1.665 MB / 1.126 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004293/1.075, allocations: 1.453 MB / 1.127 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/1.076, allocations: 276.7 kB / 1.128 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007317/1.084, allocations: 2.359 MB / 1.13 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004627/1.088, allocations: 2.842 MB / 1.133 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002647/1.091, allocations: 1.364 MB / 1.134 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/1.101, allocations: 5.12 MB / 1.139 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.101, allocations: 1.625 kB / 1.139 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/1.101, allocations: 0 / 1.139 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001506/1.102, allocations: 0 / 1.139 GB, free: 0.9844 MB / 0.8575 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.009845/1.111, allocations: 3.361 MB / 1.142 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.112, allocations: 9.688 kB / 1.142 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/1.113, allocations: 354.8 kB / 1.143 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/1.125, allocations: 7.446 MB / 1.15 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/1.125, allocations: 140 kB / 1.15 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/1.126, allocations: 186.4 kB / 1.15 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/1.129, allocations: 1.96 MB / 1.152 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/1.129, allocations: 3.938 kB / 1.152 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/1.129, allocations: 68.06 kB / 1.152 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/1.129, allocations: 35.12 kB / 1.152 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/1.132, allocations: 1.982 MB / 1.154 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/1.147, allocations: 10.13 MB / 1.164 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/1.151, allocations: 1.784 MB / 1.166 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/1.152, allocations: 1.082 MB / 1.167 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/1.152, allocations: 35.78 kB / 1.167 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/1.154, allocations: 1.191 MB / 1.168 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=117): time 4.128e-06/1.154, allocations: 6.5 kB / 1.168 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of matching and sorting (n=117): time 0.006951/1.161, allocations: 3.456 MB / 1.171 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002679/1.161, allocations: 343.8 kB / 1.172 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/1.178, allocations: 11.58 MB / 1.183 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0007656/1.179, allocations: 69.7 kB / 1.183 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001385/1.18, allocations: 0.9581 MB / 1.184 GB, free: 11 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/1.181, allocations: 399.2 kB / 1.185 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002655/1.184, allocations: 2.679 MB / 1.187 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.184, allocations: 309.1 kB / 1.187 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01804/1.202, allocations: 20.11 MB / 1.207 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01969/1.221, allocations: 20.7 MB / 1.227 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02201/1.244, allocations: 23.55 MB / 1.25 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.367e-05/1.244, allocations: 8 kB / 1.25 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04627/1.29, allocations: 44.23 MB / 1.293 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003611/1.29, allocations: 165.6 kB / 1.294 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/1.29, allocations: 4 kB / 1.294 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/1.291, allocations: 94.2 kB / 1.294 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/1.293, allocations: 407.4 kB / 1.294 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/1.295, allocations: 1.638 MB / 1.296 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/1.298, allocations: 239 kB / 1.296 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003806/1.298, allocations: 112.2 kB / 1.296 GB, free: 8.109 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.00229/1.301, allocations: 1.545 MB / 1.298 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006147/1.301, allocations: 209.2 kB / 1.298 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005012/1.306, allocations: 2.941 MB / 1.301 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.306, allocations: 12 kB / 1.301 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.306, allocations: 4 kB / 1.301 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/1.306, allocations: 3.984 kB / 1.301 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/1.309, allocations: 1.793 MB / 1.302 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.309, allocations: 0 / 1.302 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/1.31, allocations: 179.8 kB / 1.303 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/1.311, allocations: 76.72 kB / 1.303 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/1.311, allocations: 39.97 kB / 1.303 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/1.313, allocations: 1.661 MB / 1.304 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.313, allocations: 0 / 1.304 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/1.318, allocations: 2.781 MB / 1.307 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/1.319, allocations: 489.9 kB / 1.307 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004015/1.319, allocations: 32 kB / 1.308 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009279/1.32, allocations: 74.42 kB / 1.308 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/1.32, allocations: 96.86 kB / 1.308 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.321, allocations: 59.97 kB / 1.308 GB, free: 11.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.007068/1.328, allocations: 7.273 MB / 1.315 GB, free: 4.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.51e-07/1.328, allocations: 0 / 1.315 GB, free: 4.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005006/1.333, allocations: 1.364 MB / 1.316 GB, free: 3.23 MB / 1.014 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.003138/1.336, allocations: 0.9528 MB / 1.317 GB, free: 2.492 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02581/1.362, allocations: 26.76 MB / 1.343 GB, free: 7.707 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.362, allocations: 4 kB / 1.343 GB, free: 7.703 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/1.365, allocations: 1.904 MB / 1.345 GB, free: 5.773 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.367, allocations: 447.8 kB / 1.346 GB, free: 5.355 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.384, allocations: 11.23 MB / 1.356 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/1.387, allocations: 3.007 MB / 1.359 GB, free: 7.055 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001966/1.389, allocations: 0.5145 MB / 1.36 GB, free: 6.535 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006133/1.39, allocations: 195.4 kB / 1.36 GB, free: 6.344 MB / 1.061 GB Notification: Performance of SimCode: time 8.92e-07/1.39, allocations: 0 / 1.36 GB, free: 6.344 MB / 1.061 GB Notification: Performance of Templates: time 0.1076/1.498, allocations: 46.9 MB / 1.406 GB, free: 7.695 MB / 1.107 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 -s cvode -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/jenkins1/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