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.001563/0.001563, 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.002033/0.002033, allocations: 195.5 kB / 16.14 MB, free: 6.719 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.772/2.772, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 59.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7688, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008952/0.7778, allocations: 6.995 MB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.961, allocations: 153.5 MB / 1.173 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.9626, allocations: 23.88 kB / 1.173 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005706/0.9684, allocations: 1.655 MB / 1.175 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003345/0.9718, allocations: 0.7854 MB / 1.176 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.9746, allocations: 0.896 MB / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004761/0.9794, allocations: 3.586 MB / 1.18 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.9818, allocations: 0.8908 MB / 1.181 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.9848, allocations: 1.067 MB / 1.182 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.9877, allocations: 1.041 MB / 1.183 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009615/0.9887, allocations: 104 kB / 1.183 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005641/0.9944, allocations: 2.013 MB / 1.185 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001824/0.9962, allocations: 1.275 MB / 1.186 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.9982, allocations: 0.94 MB / 1.187 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005705/1.004, allocations: 3.856 MB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.004, allocations: 0 / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.002e-06/1.004, allocations: 0 / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.031e-05/1.004, allocations: 0 / 1.191 GB, free: 15.44 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.005898/1.01, allocations: 2.605 MB / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.01, allocations: 12.03 kB / 1.194 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/1.011, allocations: 262.2 kB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003394/1.014, allocations: 3.001 MB / 1.197 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.473e-05/1.014, allocations: 110.4 kB / 1.197 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/1.015, allocations: 152 kB / 1.197 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/1.017, allocations: 1.542 MB / 1.199 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/1.017, allocations: 0 / 1.199 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.017, allocations: 55.94 kB / 1.199 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/1.017, allocations: 32 kB / 1.199 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/1.02, allocations: 1.609 MB / 1.2 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008111/1.028, allocations: 5.773 MB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/1.03, allocations: 1.439 MB / 1.207 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.031, allocations: 0.8824 MB / 1.208 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/1.031, allocations: 37.02 kB / 1.208 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/1.032, allocations: 0.9515 MB / 1.209 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=104): time 3.397e-06/1.032, allocations: 0 / 1.209 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104): time 0.004219/1.037, allocations: 2.676 MB / 1.212 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002034/1.037, allocations: 332.2 kB / 1.212 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004851/1.042, allocations: 4.373 MB / 1.216 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002372/1.042, allocations: 65.7 kB / 1.216 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/1.043, allocations: 0.6968 MB / 1.217 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/1.043, allocations: 339.1 kB / 1.217 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000963/1.044, allocations: 1.075 MB / 1.218 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/1.044, allocations: 305.1 kB / 1.219 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006177/1.05, allocations: 7.043 MB / 1.226 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006671/1.057, allocations: 7.309 MB / 1.233 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008467/1.065, allocations: 8.991 MB / 1.241 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.065, allocations: 0 / 1.241 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.6743/1.74, allocations: 15.86 MB / 1.257 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002994/1.74, allocations: 150.6 kB / 1.257 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.74, allocations: 0.8125 kB / 1.257 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/1.74, allocations: 7.656 kB / 1.257 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/1.742, allocations: 322.1 kB / 1.257 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/1.742, allocations: 7.25 kB / 1.257 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.743, allocations: 191.3 kB / 1.258 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/1.743, allocations: 83.19 kB / 1.258 GB, free: 229.3 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.001527/1.745, allocations: 0.8442 MB / 1.259 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/1.745, allocations: 154.7 kB / 1.259 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/1.75, allocations: 2.373 MB / 1.261 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/1.751, allocations: 10.83 kB / 1.261 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.751, allocations: 1.531 kB / 1.261 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/1.751, allocations: 5.656 kB / 1.261 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/1.753, allocations: 1.355 MB / 1.262 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.753, allocations: 0.6094 kB / 1.262 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/1.754, allocations: 165.6 kB / 1.263 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.754, allocations: 6.812 kB / 1.263 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.012e-05/1.754, allocations: 33.66 kB / 1.263 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/1.754, allocations: 11.03 kB / 1.263 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.754, allocations: 0 / 1.263 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/1.757, allocations: 2.252 MB / 1.265 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/1.758, allocations: 404.2 kB / 1.265 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/1.758, allocations: 31.45 kB / 1.265 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/1.759, allocations: 75 kB / 1.265 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/1.759, allocations: 86.44 kB / 1.265 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/1.76, allocations: 51.94 kB / 1.265 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003459/1.763, allocations: 2.796 MB / 1.268 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.01e-07/1.763, allocations: 0 / 1.268 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003712/1.767, allocations: 1.075 MB / 1.269 GB, free: 226 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.002615/1.769, allocations: 0.9594 MB / 1.27 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009438/1.779, allocations: 10.7 MB / 1.281 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.779, allocations: 4 kB / 1.281 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/1.78, allocations: 1.524 MB / 1.282 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/1.782, allocations: 330.7 kB / 1.282 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006804/1.789, allocations: 6.456 MB / 1.289 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.79, allocations: 1.785 MB / 1.29 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001292/1.792, allocations: 391.8 kB / 1.291 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/1.792, allocations: 142.7 kB / 1.291 GB, free: 211 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/1.792, allocations: 0 / 1.291 GB, free: 211 MB / 0.9981 GB Notification: Performance of Templates: time 0.05019/1.842, allocations: 31.52 MB / 1.322 GB, free: 180.5 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=480 -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