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.001291/0.001291, 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.001437/0.001437, allocations: 192.6 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.554/1.554, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.812/2.812, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003135/0.003135, allocations: 71.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7542/0.7574, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009741/0.7672, allocations: 6.995 MB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2048/0.972, allocations: 153.5 MB / 1.173 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.9743, allocations: 31.75 kB / 1.173 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00672/0.9811, allocations: 1.643 MB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003723/0.9849, allocations: 0.7892 MB / 1.176 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.9882, allocations: 0.8969 MB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005413/0.9936, allocations: 3.574 MB / 1.18 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.9958, allocations: 0.8985 MB / 1.181 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.9983, allocations: 1.063 MB / 1.182 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/1.001, allocations: 1.031 MB / 1.183 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/1.002, allocations: 104 kB / 1.183 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006231/1.008, allocations: 2.021 MB / 1.185 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00215/1.011, allocations: 1.275 MB / 1.186 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002395/1.013, allocations: 0.9362 MB / 1.187 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.008636/1.022, allocations: 3.857 MB / 1.191 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.022, allocations: 4 kB / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.304e-06/1.022, allocations: 0 / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001145/1.022, allocations: 0 / 1.191 GB, free: 15.39 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.006894/1.029, allocations: 2.605 MB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.029, allocations: 8.031 kB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009671/1.03, allocations: 266.2 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/1.034, allocations: 2.997 MB / 1.197 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/1.034, allocations: 110.4 kB / 1.197 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/1.035, allocations: 152 kB / 1.197 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/1.038, allocations: 1.545 MB / 1.199 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/1.038, allocations: 3.984 kB / 1.199 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/1.038, allocations: 56 kB / 1.199 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/1.038, allocations: 28 kB / 1.199 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/1.041, allocations: 1.613 MB / 1.2 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/1.051, allocations: 5.769 MB / 1.206 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/1.053, allocations: 1.426 MB / 1.207 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.055, allocations: 0.894 MB / 1.208 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.172e-05/1.055, allocations: 37.02 kB / 1.208 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/1.056, allocations: 0.9576 MB / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=104): time 3.607e-06/1.056, allocations: 0 / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104): time 0.005022/1.061, allocations: 2.672 MB / 1.212 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002822/1.062, allocations: 328.2 kB / 1.212 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006002/1.068, allocations: 4.377 MB / 1.216 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004631/1.068, allocations: 57.64 kB / 1.216 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/1.069, allocations: 0.6968 MB / 1.217 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000528/1.07, allocations: 347.1 kB / 1.217 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/1.071, allocations: 1.075 MB / 1.218 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002197/1.071, allocations: 305.1 kB / 1.219 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008791/1.08, allocations: 7.043 MB / 1.226 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008779/1.089, allocations: 7.305 MB / 1.233 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/1.1, allocations: 9.003 MB / 1.242 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/1.1, allocations: 0 / 1.242 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.7599/1.86, allocations: 15.85 MB / 1.257 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003699/1.861, allocations: 152.3 kB / 1.257 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.861, allocations: 1.531 kB / 1.257 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/1.861, allocations: 9.062 kB / 1.257 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.863, allocations: 325.7 kB / 1.257 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/1.863, allocations: 7.406 kB / 1.257 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/1.864, allocations: 192.8 kB / 1.258 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/1.865, allocations: 75.31 kB / 1.258 GB, free: 229 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.001632/1.866, allocations: 0.85 MB / 1.259 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/1.867, allocations: 152.7 kB / 1.259 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005421/1.872, allocations: 2.376 MB / 1.261 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/1.872, allocations: 11.42 kB / 1.261 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.872, allocations: 0.5312 kB / 1.261 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/1.872, allocations: 5.453 kB / 1.261 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/1.875, allocations: 1.357 MB / 1.262 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.875, allocations: 0.5625 kB / 1.262 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000715/1.876, allocations: 161.4 kB / 1.263 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/1.876, allocations: 4.25 kB / 1.263 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.876, allocations: 38.33 kB / 1.263 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/1.876, allocations: 6.781 kB / 1.263 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.876, allocations: 0 / 1.263 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004128/1.88, allocations: 2.251 MB / 1.265 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008331/1.881, allocations: 407.5 kB / 1.265 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/1.881, allocations: 24.34 kB / 1.265 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008629/1.882, allocations: 79.36 kB / 1.265 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/1.882, allocations: 84.75 kB / 1.265 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.882, allocations: 51.91 kB / 1.265 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003724/1.886, allocations: 2.797 MB / 1.268 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.886, allocations: 0 / 1.268 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00342/1.889, allocations: 1.08 MB / 1.269 GB, free: 225.6 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.003403/1.893, allocations: 0.9481 MB / 1.27 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009299/1.902, allocations: 10.69 MB / 1.281 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.902, allocations: 3.156 kB / 1.281 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/1.904, allocations: 1.528 MB / 1.282 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/1.906, allocations: 335 kB / 1.282 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007211/1.913, allocations: 6.45 MB / 1.289 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.914, allocations: 1.782 MB / 1.29 GB, free: 211 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001441/1.916, allocations: 399.1 kB / 1.291 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/1.916, allocations: 150.5 kB / 1.291 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.916, allocations: 0 / 1.291 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05117/1.967, allocations: 31.53 MB / 1.322 GB, free: 180.1 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