Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001159/0.001159, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001184/0.001184, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6877, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006139/0.6939, allocations: 5.78 MB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.8661, allocations: 155.4 MB / 1.246 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.8675, allocations: 25.84 kB / 1.246 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004682/0.8722, allocations: 1.79 MB / 1.248 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.8748, allocations: 0.787 MB / 1.249 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.8773, allocations: 1.024 MB / 1.25 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003361/0.8807, allocations: 3.463 MB / 1.253 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.882, allocations: 0.9595 MB / 1.254 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.8835, allocations: 1.161 MB / 1.255 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.885, allocations: 1.047 MB / 1.256 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004266/0.8854, allocations: 200 kB / 1.256 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.8889, allocations: 2.243 MB / 1.258 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.8901, allocations: 1.353 MB / 1.26 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.8911, allocations: 0.9947 MB / 1.261 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.8953, allocations: 3.95 MB / 1.265 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8953, allocations: 0 / 1.265 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8954, allocations: 7.938 kB / 1.265 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.067e-05/0.8954, allocations: 0 / 1.265 GB, free: 9.379 MB / 0.9981 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.003898/0.8993, allocations: 2.574 MB / 1.267 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.8993, allocations: 8.031 kB / 1.267 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008056/0.9001, allocations: 262.2 kB / 1.267 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/0.9035, allocations: 3.02 MB / 1.27 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.468e-05/0.9036, allocations: 114.4 kB / 1.27 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.9038, allocations: 152 kB / 1.271 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.9061, allocations: 1.538 MB / 1.272 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.9061, allocations: 0 / 1.272 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.9063, allocations: 48 kB / 1.272 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.9063, allocations: 35.98 kB / 1.272 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.9087, allocations: 1.613 MB / 1.274 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007606/0.9163, allocations: 5.345 MB / 1.279 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.9184, allocations: 1.43 MB / 1.28 GB, free: 8.973 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.9195, allocations: 0.8902 MB / 1.281 GB, free: 8.074 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.9196, allocations: 37.17 kB / 1.281 GB, free: 8.039 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.921, allocations: 0.9459 MB / 1.282 GB, free: 7.082 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 3.407e-06/0.921, allocations: 0 / 1.282 GB, free: 7.082 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.004054/0.925, allocations: 2.676 MB / 1.285 GB, free: 4.395 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002013/0.9253, allocations: 328.2 kB / 1.285 GB, free: 4.027 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/0.9298, allocations: 4.381 MB / 1.289 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.9299, allocations: 61.7 kB / 1.289 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.9305, allocations: 0.689 MB / 1.29 GB, free: 14.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.9307, allocations: 343.2 kB / 1.29 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009386/0.9317, allocations: 1.082 MB / 1.292 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.9318, allocations: 301.1 kB / 1.292 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006449/0.9382, allocations: 7.035 MB / 1.299 GB, free: 6.102 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006958/0.9452, allocations: 7.317 MB / 1.306 GB, free: 14.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008792/0.954, allocations: 8.995 MB / 1.315 GB, free: 5.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.954, allocations: 7.938 kB / 1.315 GB, free: 5.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01572/0.9697, allocations: 15.86 MB / 1.33 GB, free: 5.805 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.97, allocations: 153.6 kB / 1.33 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.97, allocations: 0 / 1.33 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.97, allocations: 8 kB / 1.33 GB, free: 5.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.9714, allocations: 319.5 kB / 1.331 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.9714, allocations: 16.05 kB / 1.331 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.9727, allocations: 188.6 kB / 1.331 GB, free: 5.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.9729, allocations: 79.95 kB / 1.331 GB, free: 5.051 MB / 1.061 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.0011/0.974, allocations: 0.8448 MB / 1.332 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.9742, allocations: 154 kB / 1.332 GB, free: 4.035 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/0.978, allocations: 2.364 MB / 1.334 GB, free: 1.645 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.978, allocations: 3.984 kB / 1.334 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.9781, allocations: 0 / 1.334 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.9787, allocations: 406.8 kB / 1.335 GB, free: 1.223 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.979, allocations: 27.91 kB / 1.335 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.9798, allocations: 75.92 kB / 1.335 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.98, allocations: 88.77 kB / 1.335 GB, free: 1.035 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003582/0.9836, allocations: 2.439 MB / 1.337 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003534/0.9871, allocations: 2.38 MB / 1.339 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001384/0.9885, allocations: 1.203 MB / 1.341 GB, free: 10.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00269/0.9912, allocations: 2.799 MB / 1.343 GB, free: 8.16 MB / 1.076 GB Notification: Performance of Backend: time 3.21e-07/0.9912, allocations: 0 / 1.343 GB, free: 8.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.004, allocations: 10.94 MB / 1.354 GB, free: 13.44 MB / 1.092 GB Notification: Performance of SimCode: time 0.00736/1.011, allocations: 5.701 MB / 1.36 GB, free: 7.691 MB / 1.092 GB Notification: Performance of Templates: time 0.05942/1.07, allocations: 33.87 MB / 1.393 GB, free: 5.969 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches