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.007726/0.007726, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001637/0.001638, allocations: 196.2 kB / 16.68 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.404/1.404, allocations: 222.9 MB / 240.3 MB, free: 15.16 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.326/2.326, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 67.89 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9741/0.9757, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008326/0.984, allocations: 5.768 MB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2189/1.203, allocations: 155.5 MB / 1.245 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/1.205, allocations: 25.53 kB / 1.245 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006429/1.212, allocations: 1.787 MB / 1.247 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003671/1.216, allocations: 0.785 MB / 1.248 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/1.219, allocations: 1.03 MB / 1.249 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004749/1.224, allocations: 3.459 MB / 1.252 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/1.226, allocations: 0.944 MB / 1.253 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/1.228, allocations: 1.173 MB / 1.254 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/1.23, allocations: 1.043 MB / 1.255 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000732/1.231, allocations: 200 kB / 1.256 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005247/1.236, allocations: 2.243 MB / 1.258 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001946/1.238, allocations: 1.365 MB / 1.259 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002241/1.24, allocations: 0.987 MB / 1.26 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009746/1.25, allocations: 3.954 MB / 1.264 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.25, allocations: 0 / 1.264 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.25, allocations: 0 / 1.264 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001378/1.25, allocations: 0 / 1.264 GB, free: 9.41 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.007667/1.258, allocations: 2.578 MB / 1.266 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.258, allocations: 8.031 kB / 1.266 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/1.259, allocations: 266.2 kB / 1.267 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00469/1.264, allocations: 3.016 MB / 1.27 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/1.264, allocations: 110.4 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004621/1.265, allocations: 155.9 kB / 1.27 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/1.268, allocations: 1.538 MB / 1.271 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/1.268, allocations: 0 / 1.271 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/1.268, allocations: 52 kB / 1.271 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/1.268, allocations: 32 kB / 1.271 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/1.271, allocations: 1.609 MB / 1.273 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008898/1.28, allocations: 5.342 MB / 1.278 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/1.282, allocations: 1.435 MB / 1.28 GB, free: 9.004 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/1.283, allocations: 0.8902 MB / 1.281 GB, free: 8.105 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.934e-05/1.283, allocations: 40.94 kB / 1.281 GB, free: 8.066 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/1.285, allocations: 0.9459 MB / 1.282 GB, free: 7.109 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 4.679e-06/1.285, allocations: 3.984 kB / 1.282 GB, free: 7.105 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.004908/1.289, allocations: 2.672 MB / 1.284 GB, free: 4.422 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003168/1.29, allocations: 328.2 kB / 1.284 GB, free: 4.055 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00622/1.296, allocations: 4.381 MB / 1.289 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002943/1.296, allocations: 57.7 kB / 1.289 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007974/1.297, allocations: 0.6929 MB / 1.289 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/1.298, allocations: 343.2 kB / 1.29 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/1.299, allocations: 1.075 MB / 1.291 GB, free: 13.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.299, allocations: 305.1 kB / 1.291 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006678/1.306, allocations: 7.043 MB / 1.298 GB, free: 6.125 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007263/1.313, allocations: 7.313 MB / 1.305 GB, free: 14.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.323, allocations: 8.999 MB / 1.314 GB, free: 5.754 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/1.323, allocations: 3.938 kB / 1.314 GB, free: 5.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.02087/1.344, allocations: 15.86 MB / 1.329 GB, free: 5.836 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.000268/1.344, allocations: 153.6 kB / 1.33 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/1.345, allocations: 0 / 1.33 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-05/1.345, allocations: 8 kB / 1.33 GB, free: 5.672 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.346, allocations: 327.5 kB / 1.33 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.796e-05/1.346, allocations: 8 kB / 1.33 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.348, allocations: 188.6 kB / 1.33 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/1.348, allocations: 75.97 kB / 1.33 GB, free: 5.086 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.001534/1.35, allocations: 0.8487 MB / 1.331 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/1.35, allocations: 166 kB / 1.331 GB, free: 4.055 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/1.355, allocations: 2.356 MB / 1.333 GB, free: 1.672 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.355, allocations: 12 kB / 1.333 GB, free: 1.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.355, allocations: 0 / 1.333 GB, free: 1.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/1.355, allocations: 11.95 kB / 1.333 GB, free: 1.648 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/1.357, allocations: 1.361 MB / 1.335 GB, free: 240 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.357, allocations: 0 / 1.335 GB, free: 240 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/1.358, allocations: 163.7 kB / 1.335 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/1.358, allocations: 0 / 1.335 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/1.358, allocations: 39.97 kB / 1.335 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/1.358, allocations: 4 kB / 1.335 GB, free: 32 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.358, allocations: 0 / 1.335 GB, free: 32 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/1.361, allocations: 2.241 MB / 1.337 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007068/1.362, allocations: 410.7 kB / 1.338 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/1.362, allocations: 24 kB / 1.338 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/1.363, allocations: 71.92 kB / 1.338 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/1.363, allocations: 80.89 kB / 1.338 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.363, allocations: 59.95 kB / 1.338 GB, free: 13.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003004/1.366, allocations: 2.795 MB / 1.341 GB, free: 10.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.693e-06/1.366, allocations: 0 / 1.341 GB, free: 10.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002848/1.369, allocations: 1.061 MB / 1.342 GB, free: 9.254 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.003149/1.372, allocations: 0.9547 MB / 1.342 GB, free: 8.473 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.384, allocations: 10.7 MB / 1.353 GB, free: 13.76 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.384, allocations: 4 kB / 1.353 GB, free: 13.76 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/1.386, allocations: 1.524 MB / 1.354 GB, free: 12.22 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.388, allocations: 343.3 kB / 1.355 GB, free: 11.91 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009205/1.397, allocations: 5.565 MB / 1.36 GB, free: 6.309 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/1.399, allocations: 1.777 MB / 1.362 GB, free: 4.5 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001423/1.401, allocations: 390.7 kB / 1.362 GB, free: 4.113 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/1.401, allocations: 151.3 kB / 1.362 GB, free: 3.965 MB / 1.092 GB Notification: Performance of SimCode: time 6.21e-07/1.401, allocations: 3.938 kB / 1.362 GB, free: 3.961 MB / 1.092 GB Notification: Performance of Templates: time 0.06269/1.464, allocations: 31.83 MB / 1.394 GB, free: 4.277 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