Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001777/0.001777, 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.00204/0.00204, allocations: 195.1 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 59.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6333, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01109/0.6445, allocations: 8.234 MB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1986/0.8431, allocations: 159.5 MB / 1.181 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.8459, allocations: 43.75 kB / 1.181 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00596/0.852, allocations: 1.988 MB / 1.183 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.8559, allocations: 1.278 MB / 1.184 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.8596, allocations: 1.442 MB / 1.186 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007272/0.8669, allocations: 5.427 MB / 1.191 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.8694, allocations: 1.116 MB / 1.192 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.8736, allocations: 1.675 MB / 1.194 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002998/0.8766, allocations: 1.495 MB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006798/0.8773, allocations: 276 kB / 1.196 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/0.8821, allocations: 2.329 MB / 1.198 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002815/0.8849, allocations: 2.836 MB / 1.201 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.8868, allocations: 1.407 MB / 1.202 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008616/0.8955, allocations: 5.095 MB / 1.207 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.8955, allocations: 7.938 kB / 1.207 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8955, allocations: 4 kB / 1.207 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.496e-05/0.8956, allocations: 0 / 1.207 GB, free: 15.62 MB / 0.9669 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.007058/0.9027, allocations: 3.377 MB / 1.21 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.9027, allocations: 12.03 kB / 1.21 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.9041, allocations: 361.3 kB / 1.211 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009076/0.9132, allocations: 7.414 MB / 1.218 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.9134, allocations: 142.9 kB / 1.218 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.9137, allocations: 184 kB / 1.218 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003636/0.9174, allocations: 1.968 MB / 1.22 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.9174, allocations: 7.875 kB / 1.22 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.9176, allocations: 67.98 kB / 1.22 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.9176, allocations: 36 kB / 1.22 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.9208, allocations: 1.982 MB / 1.222 GB, free: 15.84 MB / 0.9825 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.01613/0.937, allocations: 10.64 MB / 1.232 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.9404, allocations: 1.783 MB / 1.234 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.942, allocations: 1.078 MB / 1.235 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.9422, allocations: 37.09 kB / 1.235 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/0.944, allocations: 1.199 MB / 1.236 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=117): time 3.266e-06/0.944, allocations: 0 / 1.236 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=117): time 0.007029/0.951, allocations: 3.463 MB / 1.24 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002857/0.9514, allocations: 346.5 kB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01605/0.9674, allocations: 11.57 MB / 1.251 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005973/0.9681, allocations: 69.69 kB / 1.252 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.9696, allocations: 0.9646 MB / 1.252 GB, free: 312 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.615/1.585, allocations: 391.4 kB / 1.253 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004081/1.589, allocations: 2.682 MB / 1.255 GB, free: 230 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.503e-05/1.589, allocations: 302.6 kB / 1.256 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01977/1.609, allocations: 20.11 MB / 1.275 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0152/1.624, allocations: 20.69 MB / 1.296 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/1.641, allocations: 23.58 MB / 1.319 GB, free: 182 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-05/1.641, allocations: 0 / 1.319 GB, free: 182 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.03341/1.675, allocations: 44.23 MB / 1.362 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001964/1.675, allocations: 172.9 kB / 1.362 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/1.675, allocations: 6.438 kB / 1.362 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006546/1.675, allocations: 83.12 kB / 1.362 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/1.677, allocations: 407.4 kB / 1.362 GB, free: 138 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/1.679, allocations: 1.639 MB / 1.364 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/1.681, allocations: 241.3 kB / 1.364 GB, free: 136 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005388/1.682, allocations: 112.8 kB / 1.364 GB, free: 135.9 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.00186/1.684, allocations: 1.545 MB / 1.366 GB, free: 134.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/1.684, allocations: 209.3 kB / 1.366 GB, free: 134.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/1.689, allocations: 2.948 MB / 1.369 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.689, allocations: 12 kB / 1.369 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.689, allocations: 3.781 kB / 1.369 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.689, allocations: 3.984 kB / 1.369 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/1.691, allocations: 1.787 MB / 1.371 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/1.691, allocations: 0 / 1.371 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/1.692, allocations: 183.7 kB / 1.371 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/1.693, allocations: 72.77 kB / 1.371 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.693, allocations: 43.91 kB / 1.371 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/1.694, allocations: 1.662 MB / 1.373 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.694, allocations: 0 / 1.373 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/1.698, allocations: 2.778 MB / 1.375 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007958/1.699, allocations: 494 kB / 1.376 GB, free: 124 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000665/1.7, allocations: 31.94 kB / 1.376 GB, free: 124 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.701, allocations: 83.83 kB / 1.376 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/1.701, allocations: 96.86 kB / 1.376 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.701, allocations: 59.97 kB / 1.376 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004963/1.706, allocations: 7.265 MB / 1.383 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.706, allocations: 0 / 1.383 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002934/1.709, allocations: 1.379 MB / 1.385 GB, free: 115.2 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.002878/1.712, allocations: 0.961 MB / 1.385 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01969/1.732, allocations: 27.3 MB / 1.412 GB, free: 87.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.732, allocations: 128 / 1.412 GB, free: 87.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/1.734, allocations: 1.902 MB / 1.414 GB, free: 85.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.736, allocations: 454.4 kB / 1.414 GB, free: 84.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.749, allocations: 11.22 MB / 1.425 GB, free: 73.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/1.752, allocations: 3.01 MB / 1.428 GB, free: 70.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001586/1.754, allocations: 0.5224 MB / 1.429 GB, free: 70.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/1.754, allocations: 187.4 kB / 1.429 GB, free: 69.89 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.754, allocations: 0 / 1.429 GB, free: 69.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.09274/1.847, allocations: 47.66 MB / 1.476 GB, free: 22.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches