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.008056/0.008056, allocations: 103.2 kB / 15.73 MB, free: 6.051 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.001628/0.001628, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.84 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.388, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01004/0.3981, allocations: 8.185 MB / 1.216 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9132/1.311, allocations: 159.5 MB / 1.372 GB, free: 1.113 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/1.314, allocations: 39.25 kB / 1.372 GB, free: 1.102 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006982/1.321, allocations: 1.982 MB / 1.374 GB, free: 252 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00408/1.325, allocations: 1.285 MB / 1.375 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/1.329, allocations: 1.438 MB / 1.376 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006581/1.336, allocations: 5.441 MB / 1.381 GB, free: 11.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/1.338, allocations: 1.122 MB / 1.383 GB, free: 10.5 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/1.342, allocations: 1.698 MB / 1.384 GB, free: 9.512 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004542/1.346, allocations: 1.492 MB / 1.386 GB, free: 8.531 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001438/1.348, allocations: 276.4 kB / 1.386 GB, free: 8.531 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006401/1.354, allocations: 2.356 MB / 1.388 GB, free: 7.379 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004048/1.358, allocations: 2.841 MB / 1.391 GB, free: 6.074 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00355/1.362, allocations: 1.41 MB / 1.392 GB, free: 5.039 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01267/1.374, allocations: 5.18 MB / 1.397 GB, free: 1.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.375, allocations: 0 / 1.397 GB, free: 1.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/1.375, allocations: 0 / 1.397 GB, free: 1.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001826/1.375, allocations: 0 / 1.397 GB, free: 1.59 MB / 1.076 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.008983/1.384, allocations: 3.383 MB / 1.401 GB, free: 15.14 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.384, allocations: 10.09 kB / 1.401 GB, free: 15.14 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/1.385, allocations: 363 kB / 1.401 GB, free: 14.96 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009009/1.395, allocations: 7.435 MB / 1.408 GB, free: 9.375 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/1.395, allocations: 138.9 kB / 1.409 GB, free: 9.238 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005323/1.395, allocations: 184 kB / 1.409 GB, free: 9.059 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/1.399, allocations: 1.974 MB / 1.411 GB, free: 7.008 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/1.4, allocations: 3.938 kB / 1.411 GB, free: 7.004 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/1.4, allocations: 60 kB / 1.411 GB, free: 6.945 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/1.4, allocations: 36 kB / 1.411 GB, free: 6.91 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/1.403, allocations: 1.978 MB / 1.413 GB, free: 4.926 MB / 1.092 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.01549/1.419, allocations: 10.6 MB / 1.423 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/1.422, allocations: 1.778 MB / 1.425 GB, free: 8.316 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/1.423, allocations: 1.089 MB / 1.426 GB, free: 7.223 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/1.423, allocations: 33.11 kB / 1.426 GB, free: 7.191 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00183/1.425, allocations: 1.195 MB / 1.427 GB, free: 5.977 MB / 1.107 GB Notification: Performance of pre-optimization done (n=117): time 3.377e-06/1.425, allocations: 1.781 kB / 1.427 GB, free: 5.977 MB / 1.107 GB Notification: Performance of matching and sorting (n=117): time 0.007177/1.432, allocations: 3.463 MB / 1.43 GB, free: 2.477 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/1.433, allocations: 338.5 kB / 1.431 GB, free: 2.094 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01553/1.448, allocations: 11.58 MB / 1.442 GB, free: 6.477 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004872/1.449, allocations: 65.7 kB / 1.442 GB, free: 6.406 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/1.45, allocations: 0.9607 MB / 1.443 GB, free: 5.434 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006565/1.451, allocations: 402.5 kB / 1.443 GB, free: 5.035 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003311/1.454, allocations: 2.676 MB / 1.446 GB, free: 2.34 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/1.454, allocations: 305.1 kB / 1.446 GB, free: 2.039 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0193/1.473, allocations: 20.1 MB / 1.466 GB, free: 13.93 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01978/1.493, allocations: 20.7 MB / 1.486 GB, free: 9.172 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02461/1.518, allocations: 23.57 MB / 1.509 GB, free: 1.473 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/1.518, allocations: 0 / 1.509 GB, free: 1.473 MB / 1.186 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04522/1.563, allocations: 44.22 MB / 1.552 GB, free: 5.109 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002725/1.563, allocations: 169.9 kB / 1.553 GB, free: 4.938 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/1.563, allocations: 4 kB / 1.553 GB, free: 4.934 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006631/1.564, allocations: 92.77 kB / 1.553 GB, free: 4.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.566, allocations: 411.4 kB / 1.553 GB, free: 4.438 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/1.569, allocations: 1.638 MB / 1.555 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/1.571, allocations: 242.7 kB / 1.555 GB, free: 2.418 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008246/1.572, allocations: 109.5 kB / 1.555 GB, free: 2.312 MB / 1.232 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.003588/1.575, allocations: 1.552 MB / 1.556 GB, free: 0.7461 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.577, allocations: 213.2 kB / 1.557 GB, free: 0.5352 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/1.582, allocations: 2.933 MB / 1.56 GB, free: 13.58 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/1.582, allocations: 15.94 kB / 1.56 GB, free: 13.57 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.582, allocations: 0 / 1.56 GB, free: 13.57 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.582, allocations: 7.969 kB / 1.56 GB, free: 13.56 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/1.586, allocations: 1.793 MB / 1.561 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.586, allocations: 3.938 kB / 1.561 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/1.587, allocations: 179.8 kB / 1.561 GB, free: 11.53 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/1.587, allocations: 76.77 kB / 1.562 GB, free: 11.45 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/1.588, allocations: 43.97 kB / 1.562 GB, free: 11.41 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/1.59, allocations: 1.658 MB / 1.563 GB, free: 9.598 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.59, allocations: 0 / 1.563 GB, free: 9.598 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/1.595, allocations: 2.773 MB / 1.566 GB, free: 6.797 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.596, allocations: 493.9 kB / 1.566 GB, free: 6.293 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000551/1.596, allocations: 35.98 kB / 1.566 GB, free: 6.258 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.598, allocations: 71.92 kB / 1.566 GB, free: 6.188 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/1.598, allocations: 96.86 kB / 1.567 GB, free: 6.094 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.598, allocations: 59.97 kB / 1.567 GB, free: 6.035 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007327/1.605, allocations: 7.265 MB / 1.574 GB, free: 14.75 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.01e-07/1.605, allocations: 0 / 1.574 GB, free: 14.75 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.005755/1.611, allocations: 1.389 MB / 1.575 GB, free: 13.36 MB / 1.264 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.003526/1.615, allocations: 0.9476 MB / 1.576 GB, free: 12.59 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02648/1.641, allocations: 26.77 MB / 1.602 GB, free: 1.785 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.641, allocations: 0.75 kB / 1.602 GB, free: 1.785 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/1.644, allocations: 1.91 MB / 1.604 GB, free: 15.84 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.648, allocations: 455.2 kB / 1.604 GB, free: 15.42 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.666, allocations: 11.11 MB / 1.615 GB, free: 4.27 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004344/1.67, allocations: 3.004 MB / 1.618 GB, free: 1.238 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002099/1.672, allocations: 0.5224 MB / 1.619 GB, free: 0.7109 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009006/1.673, allocations: 199.4 kB / 1.619 GB, free: 0.5156 MB / 1.295 GB Notification: Performance of SimCode: time 1.142e-06/1.673, allocations: 0 / 1.619 GB, free: 0.5156 MB / 1.295 GB Notification: Performance of Templates: time 0.1054/1.779, allocations: 48.67 MB / 1.666 GB, free: 72 kB / 1.342 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