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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002125/0.002125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002305/0.002305, allocations: 193.1 kB / 16.25 MB, free: 6.621 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.55/1.55, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7762, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009989/0.7862, allocations: 7.008 MB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2183/1.005, allocations: 153.4 MB / 1.173 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/1.007, allocations: 23.88 kB / 1.173 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.008721/1.016, allocations: 1.655 MB / 1.175 GB, free: 88 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005442/1.021, allocations: 0.7967 MB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/1.024, allocations: 0.9277 MB / 1.177 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004878/1.029, allocations: 3.672 MB / 1.18 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/1.031, allocations: 0.9173 MB / 1.181 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/1.033, allocations: 1.227 MB / 1.182 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/1.035, allocations: 1.094 MB / 1.183 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003074/1.035, allocations: 200 kB / 1.184 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/1.039, allocations: 2.22 MB / 1.186 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/1.041, allocations: 1.361 MB / 1.187 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/1.042, allocations: 1.026 MB / 1.188 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006832/1.049, allocations: 3.954 MB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.049, allocations: 0 / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.913e-06/1.049, allocations: 0 / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.175e-05/1.049, allocations: 4 kB / 1.192 GB, free: 14.61 MB / 0.9512 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.005359/1.054, allocations: 2.605 MB / 1.195 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.054, allocations: 8.031 kB / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/1.055, allocations: 266.2 kB / 1.195 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/1.059, allocations: 2.993 MB / 1.198 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/1.059, allocations: 110.4 kB / 1.198 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/1.06, allocations: 152 kB / 1.198 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/1.062, allocations: 1.541 MB / 1.2 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.062, allocations: 0 / 1.2 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/1.062, allocations: 59.94 kB / 1.2 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/1.062, allocations: 28 kB / 1.2 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/1.065, allocations: 1.613 MB / 1.201 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009616/1.075, allocations: 5.768 MB / 1.207 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/1.077, allocations: 1.442 MB / 1.208 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/1.078, allocations: 0.8823 MB / 1.209 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.018e-05/1.079, allocations: 41.17 kB / 1.209 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/1.08, allocations: 0.9576 MB / 1.21 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/1.08, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104): time 0.004816/1.085, allocations: 2.672 MB / 1.213 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002692/1.085, allocations: 324.2 kB / 1.213 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005692/1.091, allocations: 4.385 MB / 1.217 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/1.091, allocations: 57.7 kB / 1.217 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007399/1.092, allocations: 0.6929 MB / 1.218 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003892/1.092, allocations: 343.2 kB / 1.218 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/1.094, allocations: 1.079 MB / 1.219 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.094, allocations: 309.1 kB / 1.22 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007379/1.101, allocations: 7.043 MB / 1.227 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008039/1.109, allocations: 7.305 MB / 1.234 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.12, allocations: 9.003 MB / 1.242 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.12, allocations: 3.938 kB / 1.242 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.7348/1.854, allocations: 15.85 MB / 1.258 GB, free: 229 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003229/1.855, allocations: 149.4 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.855, allocations: 0.875 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-05/1.855, allocations: 8.578 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/1.857, allocations: 324 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-05/1.857, allocations: 7.844 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/1.86, allocations: 192.1 kB / 1.259 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/1.86, allocations: 76.12 kB / 1.259 GB, free: 228.9 MB / 0.9981 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.001945/1.862, allocations: 0.8523 MB / 1.26 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/1.862, allocations: 151.8 kB / 1.26 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0079/1.87, allocations: 2.378 MB / 1.262 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.87, allocations: 9.812 kB / 1.262 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.87, allocations: 0 / 1.262 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/1.87, allocations: 10.3 kB / 1.262 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/1.873, allocations: 1.354 MB / 1.263 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/1.873, allocations: 0 / 1.263 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.875, allocations: 161.4 kB / 1.263 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/1.875, allocations: 3.75 kB / 1.263 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/1.875, allocations: 35.41 kB / 1.264 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/1.875, allocations: 3.219 kB / 1.264 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.875, allocations: 1.719 kB / 1.264 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005833/1.881, allocations: 2.247 MB / 1.266 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.882, allocations: 404 kB / 1.266 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/1.882, allocations: 29.34 kB / 1.266 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.884, allocations: 78.33 kB / 1.266 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/1.884, allocations: 81.47 kB / 1.266 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.884, allocations: 52.55 kB / 1.266 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005555/1.89, allocations: 2.799 MB / 1.269 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.81e-07/1.89, allocations: 0 / 1.269 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00531/1.895, allocations: 1.077 MB / 1.27 GB, free: 225.5 MB / 0.9981 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.005136/1.9, allocations: 0.9503 MB / 1.271 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01707/1.917, allocations: 11.14 MB / 1.282 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.917, allocations: 0 / 1.282 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/1.92, allocations: 1.532 MB / 1.283 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/1.924, allocations: 351 kB / 1.284 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/1.936, allocations: 6.47 MB / 1.29 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/1.938, allocations: 1.777 MB / 1.292 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002301/1.94, allocations: 379.8 kB / 1.292 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006996/1.941, allocations: 154 kB / 1.292 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.583e-06/1.941, allocations: 0 / 1.292 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.08908/2.03, allocations: 32.35 MB / 1.324 GB, free: 178.2 MB / 0.9981 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=400 -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/jenkins/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