Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.005993/0.005993, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001196/0.001196, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.00771/1.017, allocations: 5.775 MB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.218/1.235, allocations: 155.5 MB / 1.245 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/1.237, allocations: 25.5 kB / 1.245 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007662/1.245, allocations: 1.775 MB / 1.247 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005031/1.25, allocations: 0.7684 MB / 1.248 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004416/1.254, allocations: 1.036 MB / 1.249 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005099/1.259, allocations: 3.455 MB / 1.252 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/1.261, allocations: 0.9518 MB / 1.253 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/1.263, allocations: 1.165 MB / 1.254 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/1.265, allocations: 1.043 MB / 1.255 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000724/1.266, allocations: 200 kB / 1.256 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005021/1.271, allocations: 2.239 MB / 1.258 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/1.273, allocations: 1.365 MB / 1.259 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002108/1.275, allocations: 0.9909 MB / 1.26 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008307/1.283, allocations: 3.946 MB / 1.264 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.283, allocations: 0 / 1.264 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.407e-06/1.283, allocations: 3.938 kB / 1.264 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001236/1.283, allocations: 0 / 1.264 GB, free: 9.469 MB / 0.9981 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.008986/1.292, allocations: 2.58 MB / 1.266 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/1.293, allocations: 8.031 kB / 1.266 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/1.294, allocations: 270.2 kB / 1.267 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/1.299, allocations: 3.012 MB / 1.27 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/1.3, allocations: 110.4 kB / 1.27 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004327/1.3, allocations: 156 kB / 1.27 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/1.304, allocations: 1.541 MB / 1.271 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/1.304, allocations: 4 kB / 1.271 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/1.304, allocations: 48 kB / 1.271 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/1.304, allocations: 32 kB / 1.271 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/1.307, allocations: 1.609 MB / 1.273 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/1.317, allocations: 5.345 MB / 1.278 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/1.32, allocations: 1.434 MB / 1.28 GB, free: 9.055 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/1.321, allocations: 0.8901 MB / 1.281 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.553e-05/1.321, allocations: 37.09 kB / 1.281 GB, free: 8.121 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/1.323, allocations: 0.9459 MB / 1.281 GB, free: 7.164 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 3.386e-06/1.323, allocations: 0 / 1.281 GB, free: 7.164 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.004503/1.327, allocations: 2.676 MB / 1.284 GB, free: 4.477 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/1.327, allocations: 324.2 kB / 1.284 GB, free: 4.113 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005605/1.333, allocations: 4.381 MB / 1.289 GB, free: 15.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002968/1.333, allocations: 61.7 kB / 1.289 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007855/1.334, allocations: 0.689 MB / 1.289 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/1.335, allocations: 343.2 kB / 1.29 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/1.336, allocations: 1.083 MB / 1.291 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.336, allocations: 305.1 kB / 1.291 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006732/1.343, allocations: 7.039 MB / 1.298 GB, free: 6.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007374/1.351, allocations: 7.317 MB / 1.305 GB, free: 14.85 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009885/1.36, allocations: 8.991 MB / 1.314 GB, free: 5.812 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/1.36, allocations: 0 / 1.314 GB, free: 5.812 MB / 1.045 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01856/1.379, allocations: 15.86 MB / 1.329 GB, free: 5.898 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/1.379, allocations: 157.7 kB / 1.33 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.379, allocations: 0 / 1.33 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.814e-05/1.379, allocations: 8 kB / 1.33 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/1.381, allocations: 323.5 kB / 1.33 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.036e-05/1.381, allocations: 11.94 kB / 1.33 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/1.383, allocations: 186.1 kB / 1.33 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004201/1.383, allocations: 84.03 kB / 1.33 GB, free: 5.137 MB / 1.061 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.001665/1.385, allocations: 0.8526 MB / 1.331 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000615/1.386, allocations: 154 kB / 1.331 GB, free: 4.113 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/1.39, allocations: 2.36 MB / 1.333 GB, free: 1.727 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.39, allocations: 16 kB / 1.333 GB, free: 1.711 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.39, allocations: 0 / 1.333 GB, free: 1.711 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.39, allocations: 7.969 kB / 1.333 GB, free: 1.703 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/1.393, allocations: 1.361 MB / 1.335 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.393, allocations: 0 / 1.335 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006752/1.394, allocations: 159.7 kB / 1.335 GB, free: 136 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/1.394, allocations: 4 kB / 1.335 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.962e-05/1.394, allocations: 35.97 kB / 1.335 GB, free: 96 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/1.394, allocations: 4 kB / 1.335 GB, free: 92 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.394, allocations: 0 / 1.335 GB, free: 92 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00371/1.397, allocations: 2.244 MB / 1.337 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008054/1.398, allocations: 406.7 kB / 1.338 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/1.399, allocations: 28 kB / 1.338 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/1.4, allocations: 74.58 kB / 1.338 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/1.4, allocations: 84.88 kB / 1.338 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.4, allocations: 51.97 kB / 1.338 GB, free: 13.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003201/1.403, allocations: 2.799 MB / 1.34 GB, free: 10.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.81e-07/1.403, allocations: 0 / 1.34 GB, free: 10.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003043/1.406, allocations: 1.057 MB / 1.342 GB, free: 9.312 MB / 1.076 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.003574/1.41, allocations: 0.9523 MB / 1.342 GB, free: 8.531 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.421, allocations: 10.7 MB / 1.353 GB, free: 13.82 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.421, allocations: 4 kB / 1.353 GB, free: 13.81 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.423, allocations: 1.528 MB / 1.354 GB, free: 12.27 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.425, allocations: 333.5 kB / 1.355 GB, free: 11.96 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008951/1.434, allocations: 5.569 MB / 1.36 GB, free: 6.363 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/1.436, allocations: 1.781 MB / 1.362 GB, free: 4.551 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001452/1.438, allocations: 382.7 kB / 1.362 GB, free: 4.172 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/1.438, allocations: 147.4 kB / 1.362 GB, free: 4.027 MB / 1.092 GB Notification: Performance of SimCode: time 2.545e-06/1.438, allocations: 0 / 1.362 GB, free: 4.027 MB / 1.092 GB Notification: Performance of Templates: time 0.0677/1.506, allocations: 32.33 MB / 1.394 GB, free: 3.848 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches