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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001296/0.001296, allocations: 191.7 kB / 16.13 MB, free: 6.695 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.964/2.964, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 67.67 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.348, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008715/0.3567, allocations: 6.955 MB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1807/0.5374, allocations: 153.6 MB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.5395, allocations: 23.88 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00556/0.5451, allocations: 1.655 MB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.5482, allocations: 0.7829 MB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.5509, allocations: 0.9018 MB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004187/0.5551, allocations: 3.571 MB / 1.231 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.5568, allocations: 0.8985 MB / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.5588, allocations: 1.055 MB / 1.233 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.5609, allocations: 1.037 MB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006896/0.5616, allocations: 108 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.566, allocations: 2.021 MB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.5676, allocations: 1.275 MB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.5696, allocations: 0.9323 MB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007272/0.5769, allocations: 3.86 MB / 1.242 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5769, allocations: 0 / 1.242 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.577, allocations: 0 / 1.242 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001219/0.5771, allocations: 0 / 1.242 GB, free: 7.504 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.008249/0.5853, allocations: 2.609 MB / 1.245 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.5854, allocations: 8.031 kB / 1.245 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.5871, allocations: 262.2 kB / 1.245 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005182/0.5923, allocations: 3.005 MB / 1.248 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.5924, allocations: 114.4 kB / 1.248 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003633/0.5928, allocations: 152 kB / 1.248 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7208/1.314, allocations: 1.534 MB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/1.314, allocations: 1.312 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/1.314, allocations: 51.73 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/1.314, allocations: 29.83 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/1.317, allocations: 1.611 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008929/1.326, allocations: 5.769 MB / 1.257 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/1.328, allocations: 1.435 MB / 1.258 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/1.329, allocations: 0.8882 MB / 1.259 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.351e-05/1.329, allocations: 34.48 kB / 1.259 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/1.331, allocations: 0.9564 MB / 1.26 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.496e-06/1.331, allocations: 2.375 kB / 1.26 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004502/1.335, allocations: 2.67 MB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/1.335, allocations: 331.7 kB / 1.263 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006538/1.342, allocations: 4.376 MB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/1.342, allocations: 60.11 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000616/1.343, allocations: 0.6917 MB / 1.268 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/1.343, allocations: 342 kB / 1.268 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/1.344, allocations: 1.079 MB / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/1.344, allocations: 302.9 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007629/1.352, allocations: 7.038 MB / 1.277 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008808/1.361, allocations: 7.311 MB / 1.284 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008776/1.37, allocations: 8.99 MB / 1.292 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/1.37, allocations: 0 / 1.292 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01437/1.384, allocations: 15.87 MB / 1.308 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001869/1.384, allocations: 148.9 kB / 1.308 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.384, allocations: 0.5625 kB / 1.308 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.1e-05/1.384, allocations: 8 kB / 1.308 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.386, allocations: 325.7 kB / 1.308 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-05/1.386, allocations: 8.781 kB / 1.308 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.388, allocations: 194.9 kB / 1.309 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003004/1.388, allocations: 83.17 kB / 1.309 GB, free: 151.8 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.001519/1.389, allocations: 0.8414 MB / 1.309 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00062/1.39, allocations: 158.7 kB / 1.31 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/1.394, allocations: 2.38 MB / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.394, allocations: 13.12 kB / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.394, allocations: 0 / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.394, allocations: 3.797 kB / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/1.396, allocations: 1.362 MB / 1.313 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.396, allocations: 0 / 1.313 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/1.397, allocations: 167.7 kB / 1.313 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/1.397, allocations: 4 kB / 1.313 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.146e-05/1.397, allocations: 35.97 kB / 1.313 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/1.397, allocations: 4.812 kB / 1.314 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.397, allocations: 0 / 1.314 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/1.401, allocations: 2.24 MB / 1.316 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.402, allocations: 406.7 kB / 1.316 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/1.402, allocations: 31.98 kB / 1.316 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/1.403, allocations: 74.42 kB / 1.316 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/1.403, allocations: 80.89 kB / 1.316 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.403, allocations: 51.97 kB / 1.316 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002738/1.406, allocations: 2.803 MB / 1.319 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.332e-06/1.406, allocations: 0 / 1.319 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003444/1.409, allocations: 1.082 MB / 1.32 GB, free: 140.6 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.002971/1.412, allocations: 0.9474 MB / 1.321 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00877/1.421, allocations: 10.7 MB / 1.331 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.421, allocations: 0 / 1.331 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/1.423, allocations: 1.528 MB / 1.333 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.424, allocations: 329.2 kB / 1.333 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/1.431, allocations: 6.448 MB / 1.34 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.432, allocations: 1.777 MB / 1.341 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001075/1.433, allocations: 409.2 kB / 1.342 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/1.433, allocations: 139.4 kB / 1.342 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.433, allocations: 0 / 1.342 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04768/1.481, allocations: 31.53 MB / 1.373 GB, free: 87.2 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