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.0009833/0.0009832, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007603/0.007603, allocations: 170 kB / 16.26 MB, free: 6.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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 8.844 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3733, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009596/0.3829, allocations: 7.671 MB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1728/0.5558, allocations: 152.1 MB / 1.215 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.5577, allocations: 27.81 kB / 1.215 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005419/0.5632, allocations: 1.814 MB / 1.216 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004271/0.5675, allocations: 1.167 MB / 1.218 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.5712, allocations: 1.257 MB / 1.219 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006702/0.5779, allocations: 5.4 MB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.58, allocations: 1.052 MB / 1.225 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.5826, allocations: 1.311 MB / 1.226 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.5852, allocations: 1.26 MB / 1.228 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005815/0.5858, allocations: 68 kB / 1.228 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.5904, allocations: 2.017 MB / 1.23 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003823/0.5942, allocations: 2.598 MB / 1.232 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003634/0.5979, allocations: 1.155 MB / 1.233 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.6112, allocations: 4.868 MB / 1.238 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6113, allocations: 4 kB / 1.238 GB, free: 13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.647e-06/0.6113, allocations: 0 / 1.238 GB, free: 13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001458/0.6115, allocations: 0 / 1.238 GB, free: 13 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.006988/0.6185, allocations: 2.847 MB / 1.241 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6185, allocations: 8.031 kB / 1.241 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.62, allocations: 369.3 kB / 1.241 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009651/0.6296, allocations: 7.41 MB / 1.248 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.6298, allocations: 138.9 kB / 1.249 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.6301, allocations: 184 kB / 1.249 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6307/1.261, allocations: 1.958 MB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/1.261, allocations: 1.797 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/1.261, allocations: 66.59 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/1.261, allocations: 35.97 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003898/1.265, allocations: 1.991 MB / 1.253 GB, free: 188.8 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.01422/1.279, allocations: 10.73 MB / 1.263 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/1.283, allocations: 1.794 MB / 1.265 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/1.285, allocations: 1.087 MB / 1.266 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/1.285, allocations: 36.89 kB / 1.266 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/1.287, allocations: 1.2 MB / 1.267 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 3.537e-06/1.287, allocations: 0 / 1.267 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.008351/1.296, allocations: 3.47 MB / 1.271 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002331/1.296, allocations: 344.1 kB / 1.271 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01854/1.314, allocations: 11.58 MB / 1.282 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005527/1.315, allocations: 70.08 kB / 1.282 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/1.316, allocations: 0.9658 MB / 1.283 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004869/1.317, allocations: 400.4 kB / 1.284 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002176/1.319, allocations: 2.351 MB / 1.286 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/1.319, allocations: 305.8 kB / 1.286 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01491/1.334, allocations: 20.11 MB / 1.306 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01502/1.349, allocations: 20.7 MB / 1.326 GB, free: 143.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/1.366, allocations: 23.59 MB / 1.349 GB, free: 119.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/1.366, allocations: 0 / 1.349 GB, free: 119.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.03347/1.4, allocations: 44.23 MB / 1.392 GB, free: 75.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000199/1.4, allocations: 169.9 kB / 1.393 GB, free: 75.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/1.4, allocations: 8 kB / 1.393 GB, free: 75.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/1.401, allocations: 80.78 kB / 1.393 GB, free: 75.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/1.402, allocations: 415.4 kB / 1.393 GB, free: 74.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/1.404, allocations: 1.544 MB / 1.394 GB, free: 73.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/1.407, allocations: 258.9 kB / 1.395 GB, free: 72.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/1.407, allocations: 110 kB / 1.395 GB, free: 72.66 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.001956/1.409, allocations: 1.545 MB / 1.396 GB, free: 71.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/1.41, allocations: 209.2 kB / 1.397 GB, free: 70.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/1.414, allocations: 2.952 MB / 1.399 GB, free: 67.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/1.414, allocations: 15.94 kB / 1.399 GB, free: 67.92 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.414, allocations: 0 / 1.399 GB, free: 67.92 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.414, allocations: 8.734 kB / 1.399 GB, free: 67.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/1.417, allocations: 1.788 MB / 1.401 GB, free: 66.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.417, allocations: 0.875 kB / 1.401 GB, free: 66.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/1.418, allocations: 189.7 kB / 1.401 GB, free: 65.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/1.418, allocations: 88.7 kB / 1.401 GB, free: 65.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.539e-05/1.418, allocations: 45.06 kB / 1.402 GB, free: 65.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/1.42, allocations: 1.551 MB / 1.403 GB, free: 64.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.42, allocations: 0 / 1.403 GB, free: 64.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004055/1.424, allocations: 2.782 MB / 1.406 GB, free: 61.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.425, allocations: 0.5563 MB / 1.406 GB, free: 60.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/1.425, allocations: 28 kB / 1.406 GB, free: 60.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.426, allocations: 99.91 kB / 1.406 GB, free: 60.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/1.426, allocations: 92.88 kB / 1.406 GB, free: 60.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.427, allocations: 57.38 kB / 1.407 GB, free: 60.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00515/1.432, allocations: 7.269 MB / 1.414 GB, free: 53.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.41e-07/1.432, allocations: 4 kB / 1.414 GB, free: 53.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003725/1.435, allocations: 1.388 MB / 1.415 GB, free: 51.85 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.00228/1.438, allocations: 0.9534 MB / 1.416 GB, free: 51.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01772/1.456, allocations: 26.78 MB / 1.442 GB, free: 24.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.456, allocations: 0.7031 kB / 1.442 GB, free: 24.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/1.458, allocations: 1.907 MB / 1.444 GB, free: 22.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/1.46, allocations: 416 kB / 1.444 GB, free: 22.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/1.473, allocations: 12.55 MB / 1.457 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/1.476, allocations: 3.009 MB / 1.46 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001848/1.478, allocations: 0.5185 MB / 1.46 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/1.478, allocations: 195.4 kB / 1.46 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/1.478, allocations: 0 / 1.46 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.07728/1.555, allocations: 42.51 MB / 1.502 GB, free: 11.43 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