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.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001142/0.001142, allocations: 201.3 kB / 16.14 MB, free: 6.801 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 66.64 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.335, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01063/0.3457, allocations: 6.974 MB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5252, allocations: 153.5 MB / 1.209 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.5272, allocations: 23.88 kB / 1.209 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005484/0.5327, allocations: 1.658 MB / 1.21 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.5372, allocations: 0.7803 MB / 1.211 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003741/0.541, allocations: 0.8954 MB / 1.212 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00565/0.5466, allocations: 3.578 MB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/0.5489, allocations: 0.8985 MB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.5516, allocations: 1.055 MB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.5542, allocations: 1.036 MB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007872/0.555, allocations: 104 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006179/0.5612, allocations: 2.028 MB / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002125/0.5634, allocations: 1.271 MB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.5651, allocations: 0.9323 MB / 1.223 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007176/0.5723, allocations: 3.856 MB / 1.227 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.5724, allocations: 0 / 1.227 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5724, allocations: 0 / 1.227 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.937e-05/0.5724, allocations: 0 / 1.227 GB, free: 5.551 MB / 0.9825 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.005957/0.5784, allocations: 2.601 MB / 1.229 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.5785, allocations: 16.03 kB / 1.229 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009726/0.5794, allocations: 270.2 kB / 1.229 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/0.5831, allocations: 2.985 MB / 1.232 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.495e-05/0.5832, allocations: 118.3 kB / 1.232 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.5834, allocations: 156 kB / 1.233 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.586, allocations: 1.545 MB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.586, allocations: 0 / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.5861, allocations: 51.98 kB / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.5862, allocations: 32 kB / 1.234 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.5886, allocations: 1.605 MB / 1.236 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008878/0.5975, allocations: 5.776 MB / 1.241 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.5997, allocations: 1.436 MB / 1.243 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.6008, allocations: 0.894 MB / 1.244 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.634e-05/0.6009, allocations: 29.19 kB / 1.244 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/0.6023, allocations: 0.9498 MB / 1.245 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.837e-06/0.6023, allocations: 4 kB / 1.245 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004409/0.6067, allocations: 2.668 MB / 1.247 GB, free: 20 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.71/1.317, allocations: 330.5 kB / 1.247 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006234/1.323, allocations: 4.378 MB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004151/1.323, allocations: 57.73 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/1.324, allocations: 0.6966 MB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/1.324, allocations: 349.3 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009642/1.325, allocations: 1.069 MB / 1.254 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.218e-05/1.325, allocations: 309.6 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007702/1.333, allocations: 7.039 MB / 1.261 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.343, allocations: 7.306 MB / 1.268 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/1.354, allocations: 8.995 MB / 1.277 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/1.354, allocations: 0 / 1.277 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01414/1.368, allocations: 15.87 MB / 1.292 GB, free: 176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/1.369, allocations: 148.9 kB / 1.293 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.369, allocations: 0 / 1.293 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/1.369, allocations: 8 kB / 1.293 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.37, allocations: 326.2 kB / 1.293 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/1.37, allocations: 8 kB / 1.293 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.372, allocations: 195.8 kB / 1.293 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/1.372, allocations: 81.48 kB / 1.293 GB, free: 175.3 MB / 0.9981 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.001138/1.373, allocations: 0.8442 MB / 1.294 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/1.373, allocations: 150.6 kB / 1.294 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/1.376, allocations: 2.37 MB / 1.296 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.377, allocations: 18.59 kB / 1.296 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.377, allocations: 0 / 1.296 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.377, allocations: 10.8 kB / 1.297 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/1.378, allocations: 1.359 MB / 1.298 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.378, allocations: 3.719 kB / 1.298 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/1.379, allocations: 165.8 kB / 1.298 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/1.379, allocations: 4 kB / 1.298 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.262e-05/1.379, allocations: 31.92 kB / 1.298 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.379, allocations: 7.938 kB / 1.298 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.379, allocations: 3.375 kB / 1.298 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/1.382, allocations: 2.238 MB / 1.3 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/1.382, allocations: 404.2 kB / 1.301 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/1.382, allocations: 29.31 kB / 1.301 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/1.383, allocations: 84.72 kB / 1.301 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.383, allocations: 85.16 kB / 1.301 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/1.384, allocations: 51.88 kB / 1.301 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002071/1.386, allocations: 2.799 MB / 1.304 GB, free: 166 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.72e-07/1.386, allocations: 0 / 1.304 GB, free: 166 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002174/1.388, allocations: 1.081 MB / 1.305 GB, free: 165.1 MB / 0.9981 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.002223/1.39, allocations: 0.9474 MB / 1.306 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008122/1.398, allocations: 10.7 MB / 1.316 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.398, allocations: 0 / 1.316 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/1.4, allocations: 1.53 MB / 1.318 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/1.401, allocations: 329.3 kB / 1.318 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00603/1.407, allocations: 6.456 MB / 1.324 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009825/1.408, allocations: 1.775 MB / 1.326 GB, free: 144.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001052/1.409, allocations: 397 kB / 1.326 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/1.41, allocations: 147.4 kB / 1.326 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.41, allocations: 4 kB / 1.326 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04561/1.455, allocations: 31.53 MB / 1.357 GB, free: 112.9 MB / 0.9981 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