Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007497/0.007497, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001473/0.001473, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.365/2.365, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.78 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3245, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008972/0.3335, allocations: 6.99 MB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1894/0.5229, allocations: 159.4 MB / 1.25 GB, free: 10.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.5253, allocations: 43.75 kB / 1.25 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005857/0.5312, allocations: 1.961 MB / 1.252 GB, free: 8.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004267/0.5355, allocations: 1.189 MB / 1.254 GB, free: 7.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.5397, allocations: 1.44 MB / 1.255 GB, free: 5.816 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006352/0.5461, allocations: 5.237 MB / 1.26 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8042/1.35, allocations: 1.168 MB / 1.261 GB, free: 5.602 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/1.354, allocations: 1.667 MB / 1.263 GB, free: 5.602 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00363/1.358, allocations: 1.465 MB / 1.264 GB, free: 5.602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007601/1.359, allocations: 277.1 kB / 1.265 GB, free: 5.602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005736/1.364, allocations: 2.356 MB / 1.267 GB, free: 5.602 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004302/1.369, allocations: 2.836 MB / 1.27 GB, free: 5.602 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003013/1.372, allocations: 1.366 MB / 1.271 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01208/1.384, allocations: 5.105 MB / 1.276 GB, free: 4.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.384, allocations: 0.8438 kB / 1.276 GB, free: 4.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/1.384, allocations: 0.6875 kB / 1.276 GB, free: 4.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001144/1.384, allocations: 1.031 kB / 1.276 GB, free: 4.91 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.00936/1.393, allocations: 3.36 MB / 1.279 GB, free: 3.316 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.393, allocations: 10.11 kB / 1.279 GB, free: 3.316 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/1.395, allocations: 363.4 kB / 1.28 GB, free: 3.168 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009287/1.404, allocations: 7.444 MB / 1.287 GB, free: 2.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.404, allocations: 146.2 kB / 1.287 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/1.404, allocations: 185.8 kB / 1.287 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/1.408, allocations: 1.963 MB / 1.289 GB, free: 2.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/1.408, allocations: 0 / 1.289 GB, free: 2.344 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/1.408, allocations: 64.33 kB / 1.289 GB, free: 2.344 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/1.408, allocations: 36.5 kB / 1.289 GB, free: 2.344 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/1.411, allocations: 1.984 MB / 1.291 GB, free: 2.328 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/1.425, allocations: 10.11 MB / 1.301 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/1.428, allocations: 1.78 MB / 1.303 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/1.429, allocations: 1.081 MB / 1.304 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.635e-05/1.429, allocations: 38.95 kB / 1.304 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/1.431, allocations: 1.191 MB / 1.305 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of pre-optimization done (n=117): time 3.386e-06/1.431, allocations: 0 / 1.305 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of matching and sorting (n=117): time 0.006461/1.437, allocations: 3.458 MB / 1.308 GB, free: 272 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/1.437, allocations: 347.6 kB / 1.309 GB, free: 16 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01605/1.453, allocations: 11.58 MB / 1.32 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000839/1.454, allocations: 67.77 kB / 1.32 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/1.456, allocations: 0.9578 MB / 1.321 GB, free: 15.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009556/1.457, allocations: 404.6 kB / 1.321 GB, free: 15.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00455/1.461, allocations: 2.677 MB / 1.324 GB, free: 14.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.462, allocations: 301.1 kB / 1.324 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01768/1.479, allocations: 20.11 MB / 1.344 GB, free: 5.578 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04025/1.52, allocations: 22.6 MB / 1.366 GB, free: 6.008 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02546/1.545, allocations: 23.57 MB / 1.389 GB, free: 14.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-05/1.545, allocations: 0 / 1.389 GB, free: 14.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05105/1.596, allocations: 44.24 MB / 1.432 GB, free: 2.191 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002738/1.597, allocations: 166.5 kB / 1.432 GB, free: 2.023 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.597, allocations: 4 kB / 1.432 GB, free: 2.02 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/1.597, allocations: 94.58 kB / 1.432 GB, free: 1.934 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/1.599, allocations: 413.4 kB / 1.433 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/1.602, allocations: 1.63 MB / 1.434 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/1.605, allocations: 244.8 kB / 1.435 GB, free: 15.56 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006945/1.606, allocations: 110.2 kB / 1.435 GB, free: 15.46 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (279): * Single equations (assignments): 241 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003063/1.609, allocations: 1.547 MB / 1.436 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008997/1.61, allocations: 209.3 kB / 1.436 GB, free: 13.72 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006284/1.616, allocations: 2.938 MB / 1.439 GB, free: 10.78 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/1.616, allocations: 13.03 kB / 1.439 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.616, allocations: 0 / 1.439 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/1.616, allocations: 3.984 kB / 1.439 GB, free: 10.76 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/1.621, allocations: 1.8 MB / 1.441 GB, free: 8.938 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.621, allocations: 3.562 kB / 1.441 GB, free: 8.938 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/1.622, allocations: 175.8 kB / 1.441 GB, free: 8.773 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/1.622, allocations: 78.84 kB / 1.441 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/1.622, allocations: 40.88 kB / 1.441 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/1.625, allocations: 1.648 MB / 1.443 GB, free: 6.879 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.625, allocations: 5.031 kB / 1.443 GB, free: 6.875 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005509/1.63, allocations: 2.769 MB / 1.446 GB, free: 4.086 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.632, allocations: 0.4911 MB / 1.446 GB, free: 3.574 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008893/1.633, allocations: 32 kB / 1.446 GB, free: 3.543 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.634, allocations: 79.39 kB / 1.446 GB, free: 3.469 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003015/1.635, allocations: 104.3 kB / 1.446 GB, free: 3.371 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/1.635, allocations: 59.97 kB / 1.446 GB, free: 3.312 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.008847/1.644, allocations: 7.265 MB / 1.454 GB, free: 12.04 MB / 1.139 GB Notification: Performance of sort global known variables: time 5.61e-07/1.644, allocations: 0 / 1.454 GB, free: 12.04 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00632/1.65, allocations: 1.359 MB / 1.455 GB, free: 10.68 MB / 1.139 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00502/1.655, allocations: 0.9602 MB / 1.456 GB, free: 9.988 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02861/1.684, allocations: 26.77 MB / 1.482 GB, free: 15.23 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.684, allocations: 1.031 kB / 1.482 GB, free: 15.23 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003681/1.687, allocations: 1.903 MB / 1.484 GB, free: 13.32 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/1.691, allocations: 431.9 kB / 1.484 GB, free: 12.91 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/1.713, allocations: 11.22 MB / 1.495 GB, free: 1.711 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005224/1.718, allocations: 3.012 MB / 1.498 GB, free: 14.69 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002745/1.721, allocations: 0.5105 MB / 1.499 GB, free: 14.22 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.722, allocations: 189 kB / 1.499 GB, free: 14.04 MB / 1.186 GB Notification: Performance of SimCode: time 1.092e-06/1.722, allocations: 3.938 kB / 1.499 GB, free: 14.04 MB / 1.186 GB Notification: Performance of Templates: time 0.1114/1.833, allocations: 47.16 MB / 1.545 GB, free: 15.25 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches