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.001017/0.001017, allocations: 108 kB / 15.6 MB, free: 132 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.00108/0.00108, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.54/1.54, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.605/2.605, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8387, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01049/0.8492, allocations: 8.231 MB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1822/1.031, allocations: 159.5 MB / 1.181 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/1.034, allocations: 39.81 kB / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006414/1.04, allocations: 1.98 MB / 1.183 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004397/1.045, allocations: 1.288 MB / 1.184 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004719/1.049, allocations: 1.439 MB / 1.186 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006398/1.056, allocations: 5.427 MB / 1.191 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/1.058, allocations: 1.12 MB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/1.061, allocations: 1.683 MB / 1.194 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/1.064, allocations: 1.491 MB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001158/1.065, allocations: 280 kB / 1.195 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005347/1.071, allocations: 2.325 MB / 1.198 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003355/1.074, allocations: 2.836 MB / 1.201 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002927/1.077, allocations: 1.399 MB / 1.202 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009328/1.086, allocations: 5.099 MB / 1.207 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.087, allocations: 0 / 1.207 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/1.087, allocations: 0 / 1.207 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001538/1.087, allocations: 4 kB / 1.207 GB, free: 15.58 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.00752/1.094, allocations: 3.386 MB / 1.21 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.094, allocations: 8.031 kB / 1.21 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/1.096, allocations: 361.3 kB / 1.211 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007447/1.103, allocations: 7.425 MB / 1.218 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.103, allocations: 134.9 kB / 1.218 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/1.103, allocations: 184 kB / 1.218 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/1.106, allocations: 1.964 MB / 1.22 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/1.106, allocations: 0 / 1.22 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/1.107, allocations: 68 kB / 1.22 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/1.107, allocations: 36 kB / 1.22 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/1.109, allocations: 1.974 MB / 1.222 GB, free: 15.82 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.01344/1.123, allocations: 10.64 MB / 1.232 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/1.126, allocations: 1.791 MB / 1.234 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/1.127, allocations: 1.081 MB / 1.235 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.843e-05/1.127, allocations: 41.08 kB / 1.235 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/1.129, allocations: 1.195 MB / 1.236 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=117): time 3.085e-06/1.129, allocations: 0 / 1.236 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=117): time 0.006501/1.136, allocations: 3.455 MB / 1.24 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002488/1.136, allocations: 342.5 kB / 1.24 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01649/1.152, allocations: 11.58 MB / 1.251 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005685/1.153, allocations: 69.7 kB / 1.252 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.154, allocations: 0.9607 MB / 1.252 GB, free: 280 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.5658/1.72, allocations: 395 kB / 1.253 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003852/1.724, allocations: 2.676 MB / 1.255 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.751e-05/1.724, allocations: 305.9 kB / 1.256 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02479/1.749, allocations: 20.11 MB / 1.275 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01627/1.765, allocations: 20.7 MB / 1.296 GB, free: 205 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01813/1.783, allocations: 23.57 MB / 1.319 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.581e-05/1.783, allocations: 4 kB / 1.319 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.03543/1.819, allocations: 44.23 MB / 1.362 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002898/1.819, allocations: 165.6 kB / 1.362 GB, free: 139 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/1.819, allocations: 4 kB / 1.362 GB, free: 139 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/1.82, allocations: 90.94 kB / 1.362 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.822, allocations: 415.3 kB / 1.362 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/1.824, allocations: 1.637 MB / 1.364 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/1.826, allocations: 240.2 kB / 1.364 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002852/1.827, allocations: 114.9 kB / 1.364 GB, free: 136.5 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.001616/1.828, allocations: 1.542 MB / 1.366 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/1.829, allocations: 208.6 kB / 1.366 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/1.833, allocations: 2.947 MB / 1.369 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.833, allocations: 12 kB / 1.369 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.833, allocations: 3.984 kB / 1.369 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/1.833, allocations: 3.984 kB / 1.369 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/1.835, allocations: 1.783 MB / 1.371 GB, free: 130 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.835, allocations: 0 / 1.371 GB, free: 130 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/1.836, allocations: 187.7 kB / 1.371 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/1.836, allocations: 72.59 kB / 1.371 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.836, allocations: 47.91 kB / 1.371 GB, free: 129.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/1.838, allocations: 1.658 MB / 1.373 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.838, allocations: 0 / 1.373 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/1.843, allocations: 2.776 MB / 1.375 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007461/1.843, allocations: 497.9 kB / 1.376 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/1.844, allocations: 28 kB / 1.376 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/1.844, allocations: 77.89 kB / 1.376 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/1.845, allocations: 100.8 kB / 1.376 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.831e-05/1.845, allocations: 67.64 kB / 1.376 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00469/1.849, allocations: 7.269 MB / 1.383 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/1.85, allocations: 0 / 1.383 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003507/1.853, allocations: 1.374 MB / 1.385 GB, free: 115.8 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.002336/1.855, allocations: 0.9492 MB / 1.385 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01973/1.875, allocations: 27.31 MB / 1.412 GB, free: 87.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.875, allocations: 3.938 kB / 1.412 GB, free: 87.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002192/1.877, allocations: 1.902 MB / 1.414 GB, free: 85.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/1.88, allocations: 439.3 kB / 1.414 GB, free: 85.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.893, allocations: 11.23 MB / 1.425 GB, free: 74.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/1.895, allocations: 3.008 MB / 1.428 GB, free: 71.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001645/1.896, allocations: 0.5147 MB / 1.429 GB, free: 70.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/1.897, allocations: 195.4 kB / 1.429 GB, free: 70.41 MB / 0.9981 GB Notification: Performance of SimCode: time 1.342e-06/1.897, allocations: 0 / 1.429 GB, free: 70.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.09174/1.989, allocations: 47.66 MB / 1.476 GB, free: 22.99 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=480 -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