Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.01389/0.01389, allocations: 96.56 kB / 15.73 MB, free: 6.043 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.001674/0.001674, allocations: 195.5 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3074, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008216/0.3156, allocations: 7.006 MB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 1.041/1.357, allocations: 156 MB / 1.38 GB, free: 6.086 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/1.359, allocations: 26.44 kB / 1.38 GB, free: 6.078 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005818/1.364, allocations: 1.829 MB / 1.382 GB, free: 5.285 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003456/1.368, allocations: 0.8957 MB / 1.383 GB, free: 4.605 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/1.371, allocations: 1.03 MB / 1.384 GB, free: 3.816 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005496/1.377, allocations: 3.632 MB / 1.387 GB, free: 1.621 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/1.378, allocations: 0.6466 MB / 1.388 GB, free: 1.137 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/1.381, allocations: 1.189 MB / 1.389 GB, free: 472 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/1.383, allocations: 1.067 MB / 1.39 GB, free: 15.75 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003909/1.383, allocations: 199.8 kB / 1.39 GB, free: 15.75 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005/1.388, allocations: 2.253 MB / 1.392 GB, free: 14.61 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001561/1.39, allocations: 1.358 MB / 1.394 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/1.391, allocations: 1.028 MB / 1.395 GB, free: 13.17 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008591/1.4, allocations: 4.031 MB / 1.399 GB, free: 10.5 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.4, allocations: 4 kB / 1.399 GB, free: 10.5 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.165e-06/1.4, allocations: 0 / 1.399 GB, free: 10.5 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.185e-05/1.4, allocations: 0 / 1.399 GB, free: 10.5 MB / 1.092 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.005958/1.406, allocations: 2.685 MB / 1.401 GB, free: 8.5 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.406, allocations: 9.688 kB / 1.401 GB, free: 8.5 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/1.407, allocations: 275.2 kB / 1.401 GB, free: 8.359 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/1.41, allocations: 3.03 MB / 1.404 GB, free: 6.863 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/1.411, allocations: 111.7 kB / 1.405 GB, free: 6.812 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/1.411, allocations: 150 kB / 1.405 GB, free: 6.766 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/1.413, allocations: 1.551 MB / 1.406 GB, free: 5.887 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/1.413, allocations: 0 / 1.406 GB, free: 5.887 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.413, allocations: 49.31 kB / 1.406 GB, free: 5.852 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/1.413, allocations: 29.41 kB / 1.406 GB, free: 5.852 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/1.416, allocations: 1.613 MB / 1.408 GB, free: 5.133 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008594/1.424, allocations: 5.738 MB / 1.413 GB, free: 15.45 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/1.426, allocations: 1.261 MB / 1.415 GB, free: 14.18 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/1.427, allocations: 0.7222 MB / 1.415 GB, free: 13.46 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.833e-05/1.427, allocations: 41.17 kB / 1.415 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/1.429, allocations: 0.9507 MB / 1.416 GB, free: 12.45 MB / 1.107 GB Notification: Performance of pre-optimization done (n=104): time 2.705e-06/1.429, allocations: 0 / 1.416 GB, free: 12.45 MB / 1.107 GB Notification: Performance of matching and sorting (n=104): time 0.004403/1.433, allocations: 2.708 MB / 1.419 GB, free: 9.738 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002276/1.433, allocations: 326.5 kB / 1.419 GB, free: 9.367 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005111/1.439, allocations: 4.377 MB / 1.424 GB, free: 4.977 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003349/1.439, allocations: 65.55 kB / 1.424 GB, free: 4.91 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007494/1.44, allocations: 0.7136 MB / 1.424 GB, free: 4.188 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/1.44, allocations: 361 kB / 1.425 GB, free: 3.832 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/1.441, allocations: 1.084 MB / 1.426 GB, free: 2.742 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.441, allocations: 305.1 kB / 1.426 GB, free: 2.441 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006702/1.448, allocations: 7.047 MB / 1.433 GB, free: 11.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006939/1.455, allocations: 7.305 MB / 1.44 GB, free: 4.07 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009656/1.464, allocations: 8.995 MB / 1.449 GB, free: 11.04 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.465, allocations: 3.938 kB / 1.449 GB, free: 11.03 MB / 1.139 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01871/1.483, allocations: 15.91 MB / 1.464 GB, free: 11.06 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002113/1.483, allocations: 151.6 kB / 1.465 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/1.483, allocations: 5.312 kB / 1.465 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/1.483, allocations: 4.062 kB / 1.465 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/1.485, allocations: 323.5 kB / 1.465 GB, free: 10.58 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.137e-05/1.485, allocations: 8 kB / 1.465 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.487, allocations: 190.6 kB / 1.465 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000425/1.487, allocations: 79.94 kB / 1.465 GB, free: 10.31 MB / 1.154 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): 191 * Array equations: 13 * 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.001787/1.489, allocations: 0.8448 MB / 1.466 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005947/1.49, allocations: 158.9 kB / 1.466 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/1.494, allocations: 2.404 MB / 1.468 GB, free: 6.883 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.494, allocations: 8.062 kB / 1.468 GB, free: 6.875 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.494, allocations: 4 kB / 1.468 GB, free: 6.871 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.494, allocations: 3.984 kB / 1.468 GB, free: 6.867 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/1.496, allocations: 1.373 MB / 1.47 GB, free: 5.441 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.496, allocations: 0 / 1.47 GB, free: 5.441 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/1.497, allocations: 155.8 kB / 1.47 GB, free: 5.289 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/1.497, allocations: 4 kB / 1.47 GB, free: 5.285 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.497, allocations: 39.97 kB / 1.47 GB, free: 5.246 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/1.497, allocations: 7.938 kB / 1.47 GB, free: 5.238 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.497, allocations: 0 / 1.47 GB, free: 5.238 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/1.501, allocations: 2.284 MB / 1.472 GB, free: 2.922 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009093/1.502, allocations: 407.6 kB / 1.473 GB, free: 2.504 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/1.502, allocations: 24 kB / 1.473 GB, free: 2.48 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.503, allocations: 71.92 kB / 1.473 GB, free: 2.41 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/1.503, allocations: 84.89 kB / 1.473 GB, free: 2.328 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.504, allocations: 51.97 kB / 1.473 GB, free: 2.277 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003137/1.507, allocations: 2.799 MB / 1.476 GB, free: 15.48 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/1.507, allocations: 3.938 kB / 1.476 GB, free: 15.47 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00353/1.51, allocations: 1.087 MB / 1.477 GB, free: 14.39 MB / 1.17 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.003653/1.514, allocations: 0.966 MB / 1.478 GB, free: 13.6 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.524, allocations: 8.458 MB / 1.486 GB, free: 5.129 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.524, allocations: 0 / 1.486 GB, free: 5.129 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/1.526, allocations: 1.18 MB / 1.487 GB, free: 3.938 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.528, allocations: 367.2 kB / 1.487 GB, free: 3.598 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009957/1.538, allocations: 5.679 MB / 1.493 GB, free: 13.88 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/1.54, allocations: 1.783 MB / 1.495 GB, free: 12.06 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001463/1.542, allocations: 394.8 kB / 1.495 GB, free: 11.67 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/1.542, allocations: 151.4 kB / 1.495 GB, free: 11.52 MB / 1.186 GB Notification: Performance of SimCode: time 1.703e-06/1.542, allocations: 0 / 1.495 GB, free: 11.52 MB / 1.186 GB Notification: Performance of Templates: time 0.05973/1.602, allocations: 33.22 MB / 1.528 GB, free: 10.48 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches