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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001089/0.001089, allocations: 198 kB / 16.14 MB, free: 6.648 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 75.94 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4017, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009519/0.4113, allocations: 8.159 MB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5964, allocations: 157.5 MB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.5984, allocations: 31.81 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0061/0.6045, allocations: 1.822 MB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.6086, allocations: 1.163 MB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.6126, allocations: 1.259 MB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006405/0.619, allocations: 5.402 MB / 1.223 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.6212, allocations: 1.075 MB / 1.224 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.6243, allocations: 1.448 MB / 1.226 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/0.6271, allocations: 1.44 MB / 1.227 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000844/0.628, allocations: 132 kB / 1.227 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004803/0.6328, allocations: 2.079 MB / 1.229 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003967/0.6368, allocations: 2.691 MB / 1.232 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004048/0.6408, allocations: 1.259 MB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.6513, allocations: 4.982 MB / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6514, allocations: 0 / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6514, allocations: 7.938 kB / 1.238 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001785/0.6516, allocations: 0 / 1.238 GB, free: 9.656 MB / 0.9981 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.01166/0.6632, allocations: 3.386 MB / 1.241 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.6633, allocations: 8.031 kB / 1.241 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.6657, allocations: 365.2 kB / 1.242 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6807/1.346, allocations: 7.395 MB / 1.249 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/1.347, allocations: 143.8 kB / 1.249 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/1.347, allocations: 183.2 kB / 1.249 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003878/1.351, allocations: 1.964 MB / 1.251 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/1.351, allocations: 6.594 kB / 1.251 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/1.351, allocations: 62.94 kB / 1.251 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/1.351, allocations: 37.31 kB / 1.251 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/1.354, allocations: 1.987 MB / 1.253 GB, free: 191.7 MB / 0.9981 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.01766/1.372, allocations: 10.63 MB / 1.264 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/1.376, allocations: 1.789 MB / 1.265 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/1.378, allocations: 1.08 MB / 1.266 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.936e-05/1.378, allocations: 39 kB / 1.266 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001951/1.38, allocations: 1.2 MB / 1.268 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.705e-06/1.38, allocations: 3.828 kB / 1.268 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.007302/1.387, allocations: 3.451 MB / 1.271 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002269/1.387, allocations: 344.3 kB / 1.271 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01706/1.404, allocations: 11.59 MB / 1.283 GB, free: 185 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007687/1.405, allocations: 66.36 kB / 1.283 GB, free: 185 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.406, allocations: 0.9646 MB / 1.284 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005327/1.407, allocations: 400.8 kB / 1.284 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002722/1.41, allocations: 2.671 MB / 1.287 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.311e-05/1.41, allocations: 305.1 kB / 1.287 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01348/1.423, allocations: 20.12 MB / 1.307 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01504/1.438, allocations: 20.7 MB / 1.327 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/1.457, allocations: 23.56 MB / 1.35 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/1.457, allocations: 4 kB / 1.35 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04018/1.497, allocations: 44.22 MB / 1.393 GB, free: 74.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/1.498, allocations: 165.6 kB / 1.393 GB, free: 74.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/1.498, allocations: 4.938 kB / 1.393 GB, free: 74.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/1.498, allocations: 93.08 kB / 1.393 GB, free: 74.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/1.5, allocations: 411.4 kB / 1.394 GB, free: 73.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/1.502, allocations: 1.545 MB / 1.395 GB, free: 71.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/1.505, allocations: 243 kB / 1.395 GB, free: 71.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005803/1.505, allocations: 112.1 kB / 1.396 GB, free: 71.64 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.002473/1.508, allocations: 1.546 MB / 1.397 GB, free: 70.08 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007596/1.509, allocations: 209.2 kB / 1.397 GB, free: 69.87 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/1.514, allocations: 2.952 MB / 1.4 GB, free: 66.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.514, allocations: 12 kB / 1.4 GB, free: 66.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.514, allocations: 0 / 1.4 GB, free: 66.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.514, allocations: 5.203 kB / 1.4 GB, free: 66.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/1.517, allocations: 1.79 MB / 1.402 GB, free: 65.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.517, allocations: 0.875 kB / 1.402 GB, free: 65.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007693/1.518, allocations: 183.7 kB / 1.402 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005164/1.518, allocations: 81.44 kB / 1.402 GB, free: 64.79 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.518, allocations: 39.97 kB / 1.402 GB, free: 64.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/1.52, allocations: 1.549 MB / 1.404 GB, free: 63.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.52, allocations: 0 / 1.404 GB, free: 63.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/1.524, allocations: 2.777 MB / 1.406 GB, free: 60.26 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000942/1.525, allocations: 493.9 kB / 1.407 GB, free: 59.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005319/1.525, allocations: 37.12 kB / 1.407 GB, free: 59.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.527, allocations: 83.92 kB / 1.407 GB, free: 59.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.527, allocations: 96.84 kB / 1.407 GB, free: 59.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.527, allocations: 61.23 kB / 1.407 GB, free: 59.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005396/1.532, allocations: 7.265 MB / 1.414 GB, free: 52.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.532, allocations: 4 kB / 1.414 GB, free: 52.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004145/1.537, allocations: 1.38 MB / 1.416 GB, free: 50.89 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.003272/1.54, allocations: 0.9545 MB / 1.416 GB, free: 50.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02/1.56, allocations: 26.78 MB / 1.443 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.56, allocations: 0.75 kB / 1.443 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00256/1.563, allocations: 1.906 MB / 1.445 GB, free: 21.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/1.565, allocations: 413.3 kB / 1.445 GB, free: 21.06 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.58, allocations: 12.51 MB / 1.457 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003129/1.583, allocations: 3.005 MB / 1.46 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001963/1.585, allocations: 0.5184 MB / 1.461 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007656/1.586, allocations: 195.4 kB / 1.461 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/1.586, allocations: 0 / 1.461 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.1053/1.691, allocations: 46.44 MB / 1.506 GB, free: 6.539 MB / 1.045 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 -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/jenkins/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