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.00111/0.00111, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 193.2 kB / 16.67 MB, free: 6.57 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.702/2.702, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3169, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008686/0.3257, allocations: 7.022 MB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.9734/1.299, allocations: 155.6 MB / 1.325 GB, free: 6.531 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/1.301, allocations: 25.28 kB / 1.325 GB, free: 6.523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007026/1.308, allocations: 1.814 MB / 1.327 GB, free: 6.047 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004212/1.313, allocations: 0.8835 MB / 1.328 GB, free: 5.656 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003695/1.316, allocations: 1.028 MB / 1.329 GB, free: 5.152 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006376/1.323, allocations: 3.671 MB / 1.333 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/1.325, allocations: 0.9247 MB / 1.334 GB, free: 2.973 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/1.328, allocations: 1.184 MB / 1.335 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/1.33, allocations: 1.07 MB / 1.336 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005819/1.331, allocations: 199.7 kB / 1.336 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006059/1.337, allocations: 2.245 MB / 1.338 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001919/1.339, allocations: 1.365 MB / 1.339 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002063/1.341, allocations: 1.026 MB / 1.34 GB, free: 260 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/1.352, allocations: 4.023 MB / 1.344 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/1.352, allocations: 1.125 kB / 1.344 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.695e-06/1.352, allocations: 0 / 1.344 GB, free: 14.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001441/1.352, allocations: 0 / 1.344 GB, free: 14.83 MB / 1.029 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.007696/1.36, allocations: 2.687 MB / 1.347 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/1.36, allocations: 10.16 kB / 1.347 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/1.361, allocations: 272.3 kB / 1.347 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/1.366, allocations: 3.031 MB / 1.35 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/1.366, allocations: 115.6 kB / 1.35 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/1.366, allocations: 152.2 kB / 1.351 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/1.369, allocations: 1.54 MB / 1.352 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/1.369, allocations: 1.406 kB / 1.352 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/1.369, allocations: 54.31 kB / 1.352 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/1.369, allocations: 27.91 kB / 1.352 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/1.372, allocations: 1.605 MB / 1.354 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009841/1.381, allocations: 5.743 MB / 1.359 GB, free: 6.605 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/1.384, allocations: 1.444 MB / 1.361 GB, free: 5.957 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.385, allocations: 0.8913 MB / 1.362 GB, free: 5.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.231e-05/1.385, allocations: 32.31 kB / 1.362 GB, free: 5.559 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/1.386, allocations: 0.9548 MB / 1.363 GB, free: 5.113 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 2.775e-06/1.386, allocations: 1.344 kB / 1.363 GB, free: 5.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=104): time 0.004663/1.391, allocations: 2.672 MB / 1.365 GB, free: 4.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002432/1.391, allocations: 333.3 kB / 1.365 GB, free: 3.809 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006047/1.397, allocations: 4.378 MB / 1.37 GB, free: 2.227 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004885/1.398, allocations: 59.95 kB / 1.37 GB, free: 2.172 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009606/1.399, allocations: 0.7128 MB / 1.37 GB, free: 1.551 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005713/1.4, allocations: 357.1 kB / 1.371 GB, free: 1.246 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001913/1.401, allocations: 1.086 MB / 1.372 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.402, allocations: 303.2 kB / 1.372 GB, free: 404 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007133/1.409, allocations: 7.049 MB / 1.379 GB, free: 10.67 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007684/1.416, allocations: 7.301 MB / 1.386 GB, free: 3.359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.427, allocations: 8.999 MB / 1.395 GB, free: 10.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/1.427, allocations: 3.938 kB / 1.395 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01945/1.446, allocations: 15.87 MB / 1.41 GB, free: 10.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002534/1.447, allocations: 153.3 kB / 1.411 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.447, allocations: 4 kB / 1.411 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.698e-05/1.447, allocations: 4 kB / 1.411 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/1.449, allocations: 319.5 kB / 1.411 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.691e-05/1.449, allocations: 16.81 kB / 1.411 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/1.451, allocations: 198.5 kB / 1.411 GB, free: 9.711 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004859/1.451, allocations: 79.95 kB / 1.411 GB, free: 9.633 MB / 1.076 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.001958/1.453, allocations: 0.8448 MB / 1.412 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007224/1.454, allocations: 158.9 kB / 1.412 GB, free: 8.617 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/1.458, allocations: 2.378 MB / 1.415 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.459, allocations: 8 kB / 1.415 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.459, allocations: 0 / 1.415 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.459, allocations: 7.984 kB / 1.415 GB, free: 6.207 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/1.461, allocations: 1.357 MB / 1.416 GB, free: 4.797 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.461, allocations: 8 kB / 1.416 GB, free: 4.789 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/1.462, allocations: 159.7 kB / 1.416 GB, free: 4.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/1.462, allocations: 4 kB / 1.416 GB, free: 4.629 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.462, allocations: 35.97 kB / 1.416 GB, free: 4.594 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/1.462, allocations: 4 kB / 1.416 GB, free: 4.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.462, allocations: 0 / 1.416 GB, free: 4.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/1.466, allocations: 2.265 MB / 1.418 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009281/1.467, allocations: 407.6 kB / 1.419 GB, free: 1.879 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/1.468, allocations: 31.94 kB / 1.419 GB, free: 1.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/1.469, allocations: 67.92 kB / 1.419 GB, free: 1.781 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.469, allocations: 84.88 kB / 1.419 GB, free: 1.699 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.469, allocations: 51.97 kB / 1.419 GB, free: 1.648 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00435/1.473, allocations: 2.803 MB / 1.422 GB, free: 14.85 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.4e-07/1.473, allocations: 0 / 1.422 GB, free: 14.85 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00544/1.479, allocations: 1.08 MB / 1.423 GB, free: 13.77 MB / 1.092 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.004452/1.483, allocations: 0.9655 MB / 1.424 GB, free: 12.98 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.496, allocations: 10.71 MB / 1.434 GB, free: 2.262 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.496, allocations: 0 / 1.434 GB, free: 2.262 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/1.498, allocations: 1.524 MB / 1.436 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.501, allocations: 364.4 kB / 1.436 GB, free: 396 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.511, allocations: 5.678 MB / 1.441 GB, free: 10.67 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/1.514, allocations: 1.781 MB / 1.443 GB, free: 8.852 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001726/1.515, allocations: 390.9 kB / 1.444 GB, free: 8.465 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006882/1.516, allocations: 143.4 kB / 1.444 GB, free: 8.324 MB / 1.107 GB Notification: Performance of SimCode: time 7.81e-07/1.516, allocations: 0 / 1.444 GB, free: 8.324 MB / 1.107 GB Notification: Performance of Templates: time 0.06757/1.584, allocations: 32.69 MB / 1.476 GB, free: 7.809 MB / 1.139 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