Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00719/0.00719, allocations: 98.83 kB / 15.73 MB, free: 6.039 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.001532/0.001532, allocations: 197.5 kB / 16.67 MB, free: 5.973 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.885/2.885, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.89 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3414, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008111/0.3496, allocations: 6.998 MB / 1.215 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.025/1.374, allocations: 155.6 MB / 1.367 GB, free: 4.508 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/1.376, allocations: 25.62 kB / 1.367 GB, free: 4.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005383/1.382, allocations: 1.819 MB / 1.368 GB, free: 3.758 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004678/1.386, allocations: 0.8755 MB / 1.369 GB, free: 3.242 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/1.39, allocations: 1.037 MB / 1.37 GB, free: 2.691 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005244/1.395, allocations: 3.665 MB / 1.374 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/1.397, allocations: 0.928 MB / 1.375 GB, free: 412 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/1.399, allocations: 1.196 MB / 1.376 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/1.402, allocations: 1.07 MB / 1.377 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004591/1.402, allocations: 200.5 kB / 1.377 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005401/1.408, allocations: 2.246 MB / 1.379 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001783/1.41, allocations: 1.364 MB / 1.381 GB, free: 13.17 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/1.411, allocations: 1.026 MB / 1.382 GB, free: 12.43 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009191/1.42, allocations: 4.005 MB / 1.386 GB, free: 9.793 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.42, allocations: 1.375 kB / 1.386 GB, free: 9.793 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.234e-06/1.42, allocations: 0 / 1.386 GB, free: 9.793 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.939e-05/1.421, allocations: 0 / 1.386 GB, free: 9.793 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.006672/1.427, allocations: 2.601 MB / 1.388 GB, free: 7.879 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/1.427, allocations: 13.56 kB / 1.388 GB, free: 7.875 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/1.428, allocations: 270.7 kB / 1.388 GB, free: 7.738 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/1.433, allocations: 3.011 MB / 1.391 GB, free: 6.262 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/1.433, allocations: 117.5 kB / 1.391 GB, free: 6.203 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/1.433, allocations: 151.2 kB / 1.392 GB, free: 6.156 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/1.436, allocations: 1.547 MB / 1.393 GB, free: 5.281 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/1.436, allocations: 0 / 1.393 GB, free: 5.281 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.436, allocations: 48.59 kB / 1.393 GB, free: 5.246 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/1.436, allocations: 31.28 kB / 1.393 GB, free: 5.246 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/1.439, allocations: 1.609 MB / 1.395 GB, free: 4.531 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009476/1.448, allocations: 5.729 MB / 1.4 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/1.45, allocations: 1.446 MB / 1.402 GB, free: 15.87 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/1.452, allocations: 0.8823 MB / 1.403 GB, free: 14.99 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.523e-05/1.452, allocations: 36.86 kB / 1.403 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/1.453, allocations: 0.9499 MB / 1.404 GB, free: 13.99 MB / 1.092 GB Notification: Performance of pre-optimization done (n=104): time 3.888e-06/1.453, allocations: 0 / 1.404 GB, free: 13.99 MB / 1.092 GB Notification: Performance of matching and sorting (n=104): time 0.004589/1.458, allocations: 2.672 MB / 1.406 GB, free: 11.3 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/1.458, allocations: 322.5 kB / 1.406 GB, free: 10.94 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005467/1.463, allocations: 4.385 MB / 1.411 GB, free: 6.539 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003764/1.464, allocations: 57.7 kB / 1.411 GB, free: 6.477 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006838/1.465, allocations: 0.6969 MB / 1.411 GB, free: 5.77 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/1.465, allocations: 347 kB / 1.412 GB, free: 5.426 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/1.466, allocations: 1.084 MB / 1.413 GB, free: 4.332 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.466, allocations: 301.1 kB / 1.413 GB, free: 4.035 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006946/1.473, allocations: 7.035 MB / 1.42 GB, free: 13 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00799/1.481, allocations: 7.31 MB / 1.427 GB, free: 5.676 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009647/1.491, allocations: 8.995 MB / 1.436 GB, free: 12.64 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-05/1.491, allocations: 3.938 kB / 1.436 GB, free: 12.63 MB / 1.123 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01824/1.509, allocations: 15.86 MB / 1.451 GB, free: 12.72 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002451/1.51, allocations: 149.6 kB / 1.452 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.51, allocations: 4 kB / 1.452 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/1.51, allocations: 8 kB / 1.452 GB, free: 12.56 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.511, allocations: 323.5 kB / 1.452 GB, free: 12.24 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/1.511, allocations: 4 kB / 1.452 GB, free: 12.24 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.513, allocations: 194.1 kB / 1.452 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/1.513, allocations: 79.28 kB / 1.452 GB, free: 11.97 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001298/1.514, allocations: 0.8448 MB / 1.453 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/1.515, allocations: 154.1 kB / 1.453 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/1.519, allocations: 2.37 MB / 1.455 GB, free: 8.57 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.519, allocations: 8 kB / 1.455 GB, free: 8.562 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.519, allocations: 11.94 kB / 1.455 GB, free: 8.551 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.519, allocations: 11.62 kB / 1.455 GB, free: 8.543 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/1.521, allocations: 1.353 MB / 1.457 GB, free: 7.137 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.521, allocations: 0 / 1.457 GB, free: 7.137 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/1.522, allocations: 155.8 kB / 1.457 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/1.522, allocations: 4 kB / 1.457 GB, free: 6.98 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.152e-05/1.522, allocations: 39.97 kB / 1.457 GB, free: 6.941 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.522, allocations: 8 kB / 1.457 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.522, allocations: 0 / 1.457 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/1.525, allocations: 2.248 MB / 1.459 GB, free: 4.656 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/1.526, allocations: 406.8 kB / 1.46 GB, free: 4.238 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.526, allocations: 27.91 kB / 1.46 GB, free: 4.211 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/1.527, allocations: 77.64 kB / 1.46 GB, free: 4.137 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/1.527, allocations: 80.89 kB / 1.46 GB, free: 4.059 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.527, allocations: 51.97 kB / 1.46 GB, free: 4.008 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003369/1.531, allocations: 2.795 MB / 1.463 GB, free: 1.215 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.7e-07/1.531, allocations: 0 / 1.463 GB, free: 1.215 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003185/1.534, allocations: 1.073 MB / 1.464 GB, free: 144 kB / 1.139 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002648/1.536, allocations: 0.955 MB / 1.464 GB, free: 15.37 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.547, allocations: 10.71 MB / 1.475 GB, free: 4.648 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.547, allocations: 0 / 1.475 GB, free: 4.648 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.549, allocations: 1.528 MB / 1.476 GB, free: 3.105 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/1.551, allocations: 353.4 kB / 1.477 GB, free: 2.777 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008197/1.559, allocations: 5.582 MB / 1.482 GB, free: 13.16 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/1.561, allocations: 1.79 MB / 1.484 GB, free: 11.34 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001327/1.562, allocations: 382.9 kB / 1.484 GB, free: 10.96 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/1.562, allocations: 151.4 kB / 1.484 GB, free: 10.81 MB / 1.17 GB Notification: Performance of SimCode: time 2.224e-06/1.563, allocations: 0 / 1.484 GB, free: 10.81 MB / 1.17 GB Notification: Performance of Templates: time 0.0687/1.631, allocations: 33.2 MB / 1.517 GB, free: 9.766 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches