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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001541/0.001541, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.00178/0.00178, allocations: 190.1 kB / 17.31 MB, free: 5.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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 72.33 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2576, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009569/0.2672, allocations: 8.225 MB / 1.027 GB, free: 1.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6316/0.8989, allocations: 159.5 MB / 1.183 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.9002, allocations: 42.81 kB / 1.183 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004744/0.905, allocations: 1.984 MB / 1.185 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.9081, allocations: 1.281 MB / 1.186 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.9113, allocations: 1.44 MB / 1.187 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005131/0.9165, allocations: 5.449 MB / 1.193 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.9179, allocations: 1.123 MB / 1.194 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.9202, allocations: 1.691 MB / 1.195 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.9219, allocations: 1.489 MB / 1.197 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.9223, allocations: 280.6 kB / 1.197 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.926, allocations: 2.361 MB / 1.199 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002037/0.928, allocations: 2.832 MB / 1.202 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.9295, allocations: 1.406 MB / 1.203 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.9351, allocations: 5.192 MB / 1.209 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9351, allocations: 0 / 1.209 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9351, allocations: 0 / 1.209 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.672e-05/0.9352, allocations: 0 / 1.209 GB, free: 6.602 MB / 0.9044 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.00536/0.9405, allocations: 3.381 MB / 1.212 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.9406, allocations: 16.92 kB / 1.212 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.9418, allocations: 357.3 kB / 1.212 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00739/0.9492, allocations: 7.441 MB / 1.219 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.9493, allocations: 146.8 kB / 1.22 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.9496, allocations: 188 kB / 1.22 GB, free: 10.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.9525, allocations: 1.96 MB / 1.222 GB, free: 8.895 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.9526, allocations: 4 kB / 1.222 GB, free: 8.891 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.9527, allocations: 63.98 kB / 1.222 GB, free: 8.828 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.9527, allocations: 39.98 kB / 1.222 GB, free: 8.789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.9555, allocations: 1.986 MB / 1.224 GB, free: 6.797 MB / 0.92 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.01207/0.9676, allocations: 10.58 MB / 1.234 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.9702, allocations: 1.801 MB / 1.236 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.9715, allocations: 1.078 MB / 1.237 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-05/0.9716, allocations: 37.11 kB / 1.237 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.9732, allocations: 1.199 MB / 1.238 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=117): time 2.544e-06/0.9732, allocations: 0 / 1.238 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=117): time 0.005945/0.9791, allocations: 3.455 MB / 1.241 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/0.9793, allocations: 342.5 kB / 1.242 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01315/0.9925, allocations: 11.58 MB / 1.253 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003207/0.9928, allocations: 65.7 kB / 1.253 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008872/0.9937, allocations: 0.9607 MB / 1.254 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004432/0.9942, allocations: 402.4 kB / 1.254 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002283/0.9965, allocations: 2.676 MB / 1.257 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.9966, allocations: 309.1 kB / 1.257 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01662/1.013, allocations: 20.1 MB / 1.277 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01773/1.031, allocations: 20.7 MB / 1.297 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02204/1.053, allocations: 23.57 MB / 1.32 GB, free: 3.352 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/1.053, allocations: 0 / 1.32 GB, free: 3.352 MB / 1.014 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04355/1.097, allocations: 44.23 MB / 1.363 GB, free: 6.977 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002735/1.097, allocations: 165.6 kB / 1.364 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.097, allocations: 7.938 kB / 1.364 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/1.098, allocations: 93.08 kB / 1.364 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/1.099, allocations: 407.4 kB / 1.364 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/1.102, allocations: 1.639 MB / 1.366 GB, free: 4.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/1.104, allocations: 240.4 kB / 1.366 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003834/1.104, allocations: 111.9 kB / 1.366 GB, free: 4.18 MB / 1.061 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.002102/1.106, allocations: 1.54 MB / 1.368 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/1.107, allocations: 209.3 kB / 1.368 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/1.112, allocations: 2.95 MB / 1.371 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1.112, allocations: 12 kB / 1.371 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.112, allocations: 0 / 1.371 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.112, allocations: 3.984 kB / 1.371 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/1.115, allocations: 1.794 MB / 1.372 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.115, allocations: 0 / 1.372 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/1.115, allocations: 183.7 kB / 1.373 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/1.116, allocations: 76.78 kB / 1.373 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/1.116, allocations: 39.97 kB / 1.373 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/1.118, allocations: 1.655 MB / 1.374 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.118, allocations: 0 / 1.374 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/1.122, allocations: 2.78 MB / 1.377 GB, free: 8.676 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009482/1.123, allocations: 490 kB / 1.377 GB, free: 8.176 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003914/1.124, allocations: 31.91 kB / 1.378 GB, free: 8.145 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.125, allocations: 83.98 kB / 1.378 GB, free: 8.062 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/1.125, allocations: 92.86 kB / 1.378 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.125, allocations: 67.95 kB / 1.378 GB, free: 7.906 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.006576/1.132, allocations: 7.261 MB / 1.385 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.523e-06/1.132, allocations: 0 / 1.385 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003181/1.135, allocations: 1.389 MB / 1.386 GB, free: 15.24 MB / 1.092 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.002587/1.137, allocations: 0.9575 MB / 1.387 GB, free: 14.46 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02303/1.161, allocations: 26.77 MB / 1.413 GB, free: 3.652 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.161, allocations: 0 / 1.413 GB, free: 3.652 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/1.163, allocations: 1.91 MB / 1.415 GB, free: 1.715 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.165, allocations: 453.2 kB / 1.416 GB, free: 1.289 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.18, allocations: 11.13 MB / 1.426 GB, free: 6.113 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003442/1.183, allocations: 3.006 MB / 1.429 GB, free: 3.082 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001643/1.185, allocations: 0.5224 MB / 1.43 GB, free: 2.555 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006487/1.186, allocations: 187.4 kB / 1.43 GB, free: 2.371 MB / 1.123 GB Notification: Performance of SimCode: time 7.22e-07/1.186, allocations: 0 / 1.43 GB, free: 2.371 MB / 1.123 GB Notification: Performance of Templates: time 0.101/1.287, allocations: 47.74 MB / 1.477 GB, free: 2.879 MB / 1.17 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 -s gbode -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/jenkins1/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