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.001618/0.001618, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0023/0.0023, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.462/2.462, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.6926, allocations: 140.4 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006997/0.6997, allocations: 5.766 MB / 0.9552 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1907/0.8905, allocations: 155.5 MB / 1.107 GB, free: 44 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001913/0.8924, allocations: 27.88 kB / 1.107 GB, free: 16 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005263/0.8978, allocations: 1.774 MB / 1.109 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.901, allocations: 0.7748 MB / 1.11 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.904, allocations: 1.023 MB / 1.111 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.908, allocations: 3.444 MB / 1.114 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.9095, allocations: 0.9594 MB / 1.115 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.9115, allocations: 1.145 MB / 1.116 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.9132, allocations: 1.039 MB / 1.117 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006506/0.9139, allocations: 200 kB / 1.117 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004319/0.9182, allocations: 2.216 MB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.9197, allocations: 1.361 MB / 1.121 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.9209, allocations: 0.9909 MB / 1.122 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007043/0.928, allocations: 3.892 MB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.928, allocations: 0 / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.184e-06/0.928, allocations: 4 kB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.407e-05/0.9281, allocations: 0 / 1.125 GB, free: 13.12 MB / 0.8887 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.004821/0.9329, allocations: 2.574 MB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9329, allocations: 8.031 kB / 1.128 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.9338, allocations: 262.2 kB / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.9373, allocations: 2.993 MB / 1.131 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.802e-05/0.9374, allocations: 110.4 kB / 1.131 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.9376, allocations: 156 kB / 1.131 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.9401, allocations: 1.534 MB / 1.133 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.9402, allocations: 3.938 kB / 1.133 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.9403, allocations: 55.98 kB / 1.133 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.9403, allocations: 32 kB / 1.133 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.9427, allocations: 1.605 MB / 1.135 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00819/0.9509, allocations: 5.381 MB / 1.14 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.9531, allocations: 1.434 MB / 1.141 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.9543, allocations: 0.8901 MB / 1.142 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.988e-05/0.9544, allocations: 41.11 kB / 1.142 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.9558, allocations: 0.9538 MB / 1.143 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=104): time 3.446e-06/0.9558, allocations: 0 / 1.143 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=104): time 0.00441/0.9602, allocations: 2.668 MB / 1.146 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002719/0.9605, allocations: 332.2 kB / 1.146 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005408/0.9659, allocations: 4.385 MB / 1.15 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003435/0.9663, allocations: 57.7 kB / 1.15 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.9669, allocations: 0.693 MB / 1.151 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.9673, allocations: 343.1 kB / 1.151 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009921/0.9683, allocations: 1.071 MB / 1.152 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9684, allocations: 309 kB / 1.153 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00645/0.9749, allocations: 7.047 MB / 1.16 GB, free: 9.812 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007593/0.9825, allocations: 7.305 MB / 1.167 GB, free: 2.492 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009903/0.9924, allocations: 8.991 MB / 1.175 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.9925, allocations: 4 kB / 1.175 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.0167/1.009, allocations: 15.86 MB / 1.191 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/1.009, allocations: 149.6 kB / 1.191 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.009, allocations: 0 / 1.191 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.01, allocations: 8.062 kB / 1.191 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/1.011, allocations: 323.5 kB / 1.191 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.011, allocations: 12.06 kB / 1.191 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.012, allocations: 191.6 kB / 1.192 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.012, allocations: 75.95 kB / 1.192 GB, free: 8.789 MB / 0.9512 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.001269/1.014, allocations: 0.8526 MB / 1.192 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/1.014, allocations: 150.1 kB / 1.193 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/1.018, allocations: 2.376 MB / 1.195 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.018, allocations: 12 kB / 1.195 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.018, allocations: 0 / 1.195 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/1.018, allocations: 3.984 kB / 1.195 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/1.02, allocations: 1.353 MB / 1.196 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.02, allocations: 4 kB / 1.196 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006761/1.02, allocations: 163.8 kB / 1.196 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.02, allocations: 7.938 kB / 1.196 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/1.021, allocations: 35.97 kB / 1.196 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.021, allocations: 4 kB / 1.196 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.021, allocations: 0 / 1.196 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/1.024, allocations: 2.256 MB / 1.199 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009208/1.025, allocations: 394.8 kB / 1.199 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/1.025, allocations: 39.83 kB / 1.199 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008911/1.026, allocations: 67.94 kB / 1.199 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/1.027, allocations: 84.88 kB / 1.199 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.027, allocations: 51.97 kB / 1.199 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003578/1.03, allocations: 2.799 MB / 1.202 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.9e-07/1.03, allocations: 0 / 1.202 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003666/1.034, allocations: 1.053 MB / 1.203 GB, free: 12.96 MB / 0.9669 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.003084/1.037, allocations: 0.9456 MB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.049, allocations: 11.15 MB / 1.215 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.049, allocations: 0 / 1.215 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/1.051, allocations: 1.524 MB / 1.216 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/1.053, allocations: 340.6 kB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007759/1.061, allocations: 5.628 MB / 1.222 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.062, allocations: 1.79 MB / 1.224 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001617/1.064, allocations: 378.6 kB / 1.224 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/1.064, allocations: 147.4 kB / 1.224 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of SimCode: time 1.783e-06/1.064, allocations: 4 kB / 1.224 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.6079/1.672, allocations: 31.6 MB / 1.255 GB, free: 282.5 MB / 0.9981 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