Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001463/0.001463, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001662/0.001662, allocations: 189 kB / 17.3 MB, free: 5.613 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 69.39 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.27, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008491/0.2785, allocations: 7.029 MB / 1.026 GB, free: 2.812 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6292/0.9077, allocations: 155.6 MB / 1.178 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.909, allocations: 25.88 kB / 1.178 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005092/0.9142, allocations: 1.815 MB / 1.179 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.917, allocations: 0.8833 MB / 1.18 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.9199, allocations: 1.03 MB / 1.181 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004348/0.9242, allocations: 3.668 MB / 1.185 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.9259, allocations: 0.926 MB / 1.186 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.928, allocations: 1.184 MB / 1.187 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.9298, allocations: 1.063 MB / 1.188 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004593/0.9302, allocations: 199.2 kB / 1.188 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.9342, allocations: 2.248 MB / 1.19 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.9355, allocations: 1.362 MB / 1.192 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.9369, allocations: 1.03 MB / 1.193 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004782/0.9417, allocations: 4.015 MB / 1.197 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9417, allocations: 3.938 kB / 1.197 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9417, allocations: 0 / 1.197 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.231e-05/0.9417, allocations: 0 / 1.197 GB, free: 15.54 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.004131/0.9459, allocations: 2.609 MB / 1.199 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.9459, allocations: 10.61 kB / 1.199 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007746/0.9467, allocations: 265.2 kB / 1.199 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/0.9503, allocations: 3.018 MB / 1.202 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.9504, allocations: 114.7 kB / 1.202 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.9506, allocations: 151 kB / 1.203 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.9528, allocations: 1.54 MB / 1.204 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.9528, allocations: 3.938 kB / 1.204 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.953, allocations: 56 kB / 1.204 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.953, allocations: 28 kB / 1.204 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.9554, allocations: 1.609 MB / 1.206 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008235/0.9636, allocations: 5.728 MB / 1.211 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.9657, allocations: 1.444 MB / 1.213 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.9668, allocations: 0.8902 MB / 1.214 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.9669, allocations: 33.19 kB / 1.214 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.9682, allocations: 0.9575 MB / 1.215 GB, free: 84 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=104): time 2.886e-06/0.9682, allocations: 0 / 1.215 GB, free: 84 kB / 0.9044 GB Notification: Performance of matching and sorting (n=104): time 0.004086/0.9723, allocations: 2.668 MB / 1.217 GB, free: 13.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.9725, allocations: 330.5 kB / 1.218 GB, free: 13.03 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004906/0.9774, allocations: 4.377 MB / 1.222 GB, free: 8.641 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.9776, allocations: 61.7 kB / 1.222 GB, free: 8.574 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005615/0.9782, allocations: 0.6928 MB / 1.223 GB, free: 7.871 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.9785, allocations: 347.1 kB / 1.223 GB, free: 7.527 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009716/0.9795, allocations: 1.071 MB / 1.224 GB, free: 6.445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.9796, allocations: 309.1 kB / 1.224 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006119/0.9857, allocations: 7.039 MB / 1.231 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006493/0.9922, allocations: 7.309 MB / 1.238 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008353/1.001, allocations: 8.995 MB / 1.247 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.001, allocations: 3.938 kB / 1.247 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01498/1.016, allocations: 15.86 MB / 1.262 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001817/1.016, allocations: 149.6 kB / 1.263 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.016, allocations: 4.062 kB / 1.263 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.016, allocations: 11.98 kB / 1.263 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.017, allocations: 319.5 kB / 1.263 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/1.017, allocations: 11.94 kB / 1.263 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/1.018, allocations: 190.1 kB / 1.263 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/1.019, allocations: 79.95 kB / 1.263 GB, free: 14.07 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.001056/1.02, allocations: 0.8416 MB / 1.264 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/1.02, allocations: 154 kB / 1.264 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003615/1.024, allocations: 2.373 MB / 1.267 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.024, allocations: 16 kB / 1.267 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.024, allocations: 4 kB / 1.267 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.024, allocations: 3.984 kB / 1.267 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/1.025, allocations: 1.365 MB / 1.268 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.025, allocations: 0 / 1.268 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/1.026, allocations: 159.8 kB / 1.268 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.026, allocations: 4 kB / 1.268 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/1.026, allocations: 31.98 kB / 1.268 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-06/1.026, allocations: 8.922 kB / 1.268 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.026, allocations: 0 / 1.268 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/1.029, allocations: 2.248 MB / 1.27 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/1.03, allocations: 398.8 kB / 1.271 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.03, allocations: 28 kB / 1.271 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007864/1.031, allocations: 71.92 kB / 1.271 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.031, allocations: 92.81 kB / 1.271 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.031, allocations: 51.97 kB / 1.271 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002472/1.034, allocations: 2.795 MB / 1.274 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.41e-07/1.034, allocations: 0 / 1.274 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002241/1.036, allocations: 1.077 MB / 1.275 GB, free: 2.23 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.002181/1.038, allocations: 0.9545 MB / 1.276 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.048, allocations: 10.7 MB / 1.286 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.048, allocations: 0 / 1.286 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/1.051, allocations: 1.532 MB / 1.288 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/1.052, allocations: 367.5 kB / 1.288 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/1.06, allocations: 5.6 MB / 1.293 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/1.062, allocations: 1.785 MB / 1.295 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001254/1.063, allocations: 390.9 kB / 1.295 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/1.063, allocations: 147.4 kB / 1.296 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.063, allocations: 4 kB / 1.296 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of Templates: time 0.05897/1.122, allocations: 32.53 MB / 1.327 GB, free: 12.5 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches