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.001436/0.001436, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001722/0.001722, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.335/2.335, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/0.7141, allocations: 140.4 MB / 0.9489 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007089/0.7212, allocations: 5.765 MB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.8933, allocations: 153.4 MB / 1.104 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.895, allocations: 19.88 kB / 1.104 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00506/0.9001, allocations: 1.624 MB / 1.106 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.9033, allocations: 0.6914 MB / 1.107 GB, free: 8 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.9059, allocations: 0.8994 MB / 1.108 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00373/0.9097, allocations: 3.373 MB / 1.111 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.911, allocations: 0.9328 MB / 1.112 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.9127, allocations: 1.028 MB / 1.113 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.9141, allocations: 0.9999 MB / 1.114 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.9143, allocations: 104 kB / 1.114 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.9178, allocations: 2.032 MB / 1.116 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.919, allocations: 1.271 MB / 1.117 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009324/0.9199, allocations: 0.8972 MB / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004931/0.9249, allocations: 3.794 MB / 1.122 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.9249, allocations: 4 kB / 1.122 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9249, allocations: 0 / 1.122 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.161e-05/0.9249, allocations: 0 / 1.122 GB, free: 0.6055 MB / 0.8731 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.004737/0.9297, allocations: 2.567 MB / 1.124 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.9297, allocations: 16.03 kB / 1.124 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008068/0.9305, allocations: 266.2 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.9339, allocations: 2.989 MB / 1.127 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.303e-05/0.934, allocations: 114.4 kB / 1.127 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.9342, allocations: 152 kB / 1.128 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.9368, allocations: 1.545 MB / 1.129 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.9368, allocations: 3.984 kB / 1.129 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.937, allocations: 51.98 kB / 1.129 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.937, allocations: 28 kB / 1.129 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.9395, allocations: 1.605 MB / 1.131 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008091/0.9476, allocations: 5.392 MB / 1.136 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.9498, allocations: 1.434 MB / 1.137 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.951, allocations: 0.894 MB / 1.138 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.103e-05/0.9511, allocations: 37.16 kB / 1.138 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.9524, allocations: 0.9459 MB / 1.139 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=104): time 2.846e-06/0.9525, allocations: 8 kB / 1.139 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=104): time 0.004302/0.9568, allocations: 2.668 MB / 1.142 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002982/0.9571, allocations: 324.2 kB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005086/0.9622, allocations: 4.381 MB / 1.146 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.9624, allocations: 65.64 kB / 1.146 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.9631, allocations: 0.6969 MB / 1.147 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.9634, allocations: 343.1 kB / 1.148 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.9645, allocations: 1.075 MB / 1.149 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9646, allocations: 305.1 kB / 1.149 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006611/0.9712, allocations: 7.043 MB / 1.156 GB, free: 13.28 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007008/0.9783, allocations: 7.313 MB / 1.163 GB, free: 5.949 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008902/0.9872, allocations: 8.983 MB / 1.172 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.9872, allocations: 0 / 1.172 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01599/1.003, allocations: 15.86 MB / 1.187 GB, free: 13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/1.003, allocations: 149.6 kB / 1.187 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.003, allocations: 3.984 kB / 1.187 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.003, allocations: 11.94 kB / 1.187 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.005, allocations: 315.6 kB / 1.188 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/1.005, allocations: 8 kB / 1.188 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.006, allocations: 194.1 kB / 1.188 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/1.006, allocations: 79.95 kB / 1.188 GB, free: 12.25 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.0011/1.007, allocations: 0.8448 MB / 1.189 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/1.008, allocations: 146.1 kB / 1.189 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/1.011, allocations: 2.379 MB / 1.191 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/1.011, allocations: 15.98 kB / 1.191 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.011, allocations: 4 kB / 1.191 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.011, allocations: 3.984 kB / 1.191 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/1.013, allocations: 1.357 MB / 1.192 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.013, allocations: 0 / 1.192 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/1.014, allocations: 159.8 kB / 1.193 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/1.014, allocations: 7.938 kB / 1.193 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/1.014, allocations: 31.97 kB / 1.193 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.014, allocations: 8 kB / 1.193 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.014, allocations: 4 kB / 1.193 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/1.017, allocations: 2.248 MB / 1.195 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/1.017, allocations: 398.8 kB / 1.195 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/1.018, allocations: 35.89 kB / 1.195 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/1.018, allocations: 69.66 kB / 1.195 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.019, allocations: 84.88 kB / 1.195 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/1.019, allocations: 51.97 kB / 1.195 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002589/1.021, allocations: 2.799 MB / 1.198 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.021, allocations: 0 / 1.198 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002316/1.024, allocations: 1.053 MB / 1.199 GB, free: 440 kB / 0.9512 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.002317/1.026, allocations: 0.9519 MB / 1.2 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01067/1.037, allocations: 10.7 MB / 1.211 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.037, allocations: 0 / 1.211 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/1.038, allocations: 1.528 MB / 1.212 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.04, allocations: 309.8 kB / 1.212 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007667/1.048, allocations: 6.422 MB / 1.219 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.049, allocations: 1.787 MB / 1.22 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001244/1.05, allocations: 378.8 kB / 1.221 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/1.051, allocations: 139.4 kB / 1.221 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/1.051, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of Templates: time 0.5366/1.587, allocations: 30.71 MB / 1.251 GB, free: 279.6 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