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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001106/0.001106, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001761/0.001761, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.459/2.459, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 64.03 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3437, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008476/0.3522, allocations: 7.003 MB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8749/1.227, allocations: 155.6 MB / 1.185 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/1.229, allocations: 29.81 kB / 1.186 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00649/1.236, allocations: 1.817 MB / 1.187 GB, free: 356 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004111/1.24, allocations: 0.874 MB / 1.188 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/1.243, allocations: 1.044 MB / 1.189 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00561/1.249, allocations: 3.666 MB / 1.193 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/1.251, allocations: 0.9098 MB / 1.194 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/1.254, allocations: 1.188 MB / 1.195 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/1.256, allocations: 1.058 MB / 1.196 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005835/1.257, allocations: 198.9 kB / 1.196 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005201/1.262, allocations: 2.257 MB / 1.198 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001704/1.264, allocations: 1.366 MB / 1.2 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001825/1.266, allocations: 1.024 MB / 1.201 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00829/1.274, allocations: 4.018 MB / 1.204 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.274, allocations: 0 / 1.204 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.014e-06/1.274, allocations: 0 / 1.204 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.335e-05/1.274, allocations: 0 / 1.204 GB, free: 5.508 MB / 0.9044 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.006221/1.28, allocations: 2.607 MB / 1.207 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.28, allocations: 9.938 kB / 1.207 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009849/1.281, allocations: 268.9 kB / 1.207 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004509/1.286, allocations: 3.023 MB / 1.21 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/1.286, allocations: 114.3 kB / 1.21 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/1.286, allocations: 153.9 kB / 1.211 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/1.289, allocations: 1.545 MB / 1.212 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/1.289, allocations: 3.938 kB / 1.212 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.289, allocations: 48 kB / 1.212 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/1.289, allocations: 36 kB / 1.212 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/1.292, allocations: 1.605 MB / 1.214 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009891/1.302, allocations: 5.724 MB / 1.219 GB, free: 7.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/1.304, allocations: 1.444 MB / 1.221 GB, free: 6.441 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/1.305, allocations: 0.8863 MB / 1.222 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/1.305, allocations: 33.17 kB / 1.222 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/1.307, allocations: 0.9537 MB / 1.222 GB, free: 4.551 MB / 0.92 GB Notification: Performance of pre-optimization done (n=104): time 4.058e-06/1.307, allocations: 0 / 1.222 GB, free: 4.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=104): time 0.004565/1.311, allocations: 2.672 MB / 1.225 GB, free: 1.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002366/1.312, allocations: 334.5 kB / 1.225 GB, free: 1.492 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005736/1.317, allocations: 4.373 MB / 1.23 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004547/1.318, allocations: 57.7 kB / 1.23 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007403/1.319, allocations: 0.6968 MB / 1.23 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/1.319, allocations: 347.1 kB / 1.231 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/1.32, allocations: 1.075 MB / 1.232 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.32, allocations: 309.1 kB / 1.232 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006889/1.327, allocations: 7.039 MB / 1.239 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007681/1.335, allocations: 7.31 MB / 1.246 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009552/1.345, allocations: 8.995 MB / 1.255 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/1.345, allocations: 3.938 kB / 1.255 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01782/1.363, allocations: 15.86 MB / 1.27 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002592/1.363, allocations: 149.7 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/1.363, allocations: 9.125 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/1.363, allocations: 4 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/1.365, allocations: 327.5 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-05/1.365, allocations: 5.5 kB / 1.271 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.366, allocations: 189.2 kB / 1.271 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/1.367, allocations: 75.95 kB / 1.271 GB, free: 2.539 MB / 0.9669 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.001819/1.369, allocations: 0.8565 MB / 1.272 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006378/1.369, allocations: 155.3 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/1.373, allocations: 2.365 MB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.374, allocations: 8 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.374, allocations: 4 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.374, allocations: 7.984 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/1.376, allocations: 1.357 MB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/1.376, allocations: 4 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/1.376, allocations: 155.8 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.376, allocations: 4 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.984e-05/1.376, allocations: 43.95 kB / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/1.376, allocations: 4 kB / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.377, allocations: 0 / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/1.38, allocations: 2.252 MB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008337/1.381, allocations: 406.8 kB / 1.279 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/1.381, allocations: 24 kB / 1.279 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007861/1.382, allocations: 75.92 kB / 1.279 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.382, allocations: 80.89 kB / 1.279 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.382, allocations: 55.95 kB / 1.279 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002951/1.385, allocations: 2.795 MB / 1.281 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/1.385, allocations: 3.938 kB / 1.281 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00309/1.388, allocations: 1.077 MB / 1.283 GB, free: 6.691 MB / 0.9825 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.002691/1.391, allocations: 0.95 MB / 1.283 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.403, allocations: 10.7 MB / 1.294 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.403, allocations: 3.938 kB / 1.294 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/1.405, allocations: 1.528 MB / 1.295 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/1.406, allocations: 362.5 kB / 1.296 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008638/1.415, allocations: 5.604 MB / 1.301 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/1.417, allocations: 1.777 MB / 1.303 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001366/1.418, allocations: 394.8 kB / 1.303 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/1.418, allocations: 151.4 kB / 1.304 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.418, allocations: 0 / 1.304 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of Templates: time 0.06314/1.482, allocations: 32.53 MB / 1.335 GB, free: 0.9688 MB / 1.029 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 -s cvode -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/jenkins1/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