Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004587/0.004587, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.001077/0.001077, allocations: 197.6 kB / 16.67 MB, free: 5.969 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.365/1.365, 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.434/2.434, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 62.31 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007287/0.3231, allocations: 5.737 MB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.174/0.4971, allocations: 155.2 MB / 1.245 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.4987, allocations: 23.88 kB / 1.245 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005279/0.5041, allocations: 1.774 MB / 1.247 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.5072, allocations: 0.7889 MB / 1.248 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.51, allocations: 0.9879 MB / 1.249 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003655/0.5136, allocations: 2.369 MB / 1.251 GB, free: 9.941 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.5154, allocations: 0.9837 MB / 1.252 GB, free: 8.922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.5171, allocations: 0.8681 MB / 1.253 GB, free: 8.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.5188, allocations: 0.9025 MB / 1.254 GB, free: 7.145 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000728/0.5196, allocations: 184 kB / 1.254 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/0.5243, allocations: 2.259 MB / 1.256 GB, free: 4.703 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.5259, allocations: 1.15 MB / 1.257 GB, free: 3.551 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.5276, allocations: 0.9092 MB / 1.258 GB, free: 2.637 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.7468/1.274, allocations: 3.692 MB / 1.262 GB, free: 11.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.274, allocations: 0 / 1.262 GB, free: 11.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.055e-06/1.274, allocations: 1.656 kB / 1.262 GB, free: 11.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.398e-05/1.275, allocations: 0 / 1.262 GB, free: 11.11 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005329/1.28, allocations: 2.346 MB / 1.264 GB, free: 10.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.28, allocations: 9.062 kB / 1.264 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/1.281, allocations: 268.4 kB / 1.264 GB, free: 9.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004214/1.285, allocations: 2.929 MB / 1.267 GB, free: 9.492 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.831e-05/1.285, allocations: 106.2 kB / 1.267 GB, free: 9.484 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/1.286, allocations: 132.4 kB / 1.267 GB, free: 9.484 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/1.288, allocations: 1.362 MB / 1.269 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/1.288, allocations: 0.8438 kB / 1.269 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/1.288, allocations: 50.59 kB / 1.269 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/1.288, allocations: 31.72 kB / 1.269 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/1.291, allocations: 1.501 MB / 1.27 GB, free: 9.293 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009019/1.3, allocations: 5.085 MB / 1.275 GB, free: 8.434 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/1.303, allocations: 1.13 MB / 1.276 GB, free: 8.395 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/1.304, allocations: 445.8 kB / 1.277 GB, free: 8.383 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.895e-05/1.304, allocations: 36.45 kB / 1.277 GB, free: 8.383 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/1.305, allocations: 0.655 MB / 1.277 GB, free: 8.305 MB / 1.014 GB Notification: Performance of pre-optimization done (n=100): time 3.386e-06/1.305, allocations: 0 / 1.277 GB, free: 8.305 MB / 1.014 GB Notification: Performance of matching and sorting (n=100): time 0.004401/1.309, allocations: 1.661 MB / 1.279 GB, free: 8.066 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/1.31, allocations: 193.8 kB / 1.279 GB, free: 7.848 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00575/1.315, allocations: 4.103 MB / 1.283 GB, free: 7.684 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002649/1.316, allocations: 50.22 kB / 1.283 GB, free: 7.652 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/1.316, allocations: 0.6523 MB / 1.284 GB, free: 7.398 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/1.316, allocations: 331.7 kB / 1.284 GB, free: 7.195 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/1.317, allocations: 0.9572 MB / 1.285 GB, free: 7.016 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/1.317, allocations: 302.6 kB / 1.285 GB, free: 6.719 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008837/1.326, allocations: 6.337 MB / 1.292 GB, free: 6.715 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007412/1.334, allocations: 6.581 MB / 1.298 GB, free: 6.637 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007833/1.342, allocations: 7.462 MB / 1.305 GB, free: 6.129 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.342, allocations: 1.094 kB / 1.305 GB, free: 6.129 MB / 1.014 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01847/1.36, allocations: 14.16 MB / 1.319 GB, free: 3.945 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/1.36, allocations: 10.84 kB / 1.319 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.36, allocations: 0 / 1.319 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/1.361, allocations: 84.94 kB / 1.319 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.362, allocations: 248.4 kB / 1.319 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/1.364, allocations: 1.633 MB / 1.321 GB, free: 2.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.366, allocations: 143.5 kB / 1.321 GB, free: 2.324 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/1.366, allocations: 57.86 kB / 1.321 GB, free: 2.316 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (159): * Single equations (assignments): 146 * Array equations: 12 * Algorithm blocks: 0 * 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.001043/1.367, allocations: 0.6192 MB / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/1.367, allocations: 138.5 kB / 1.322 GB, free: 1.965 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/1.37, allocations: 1.476 MB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.37, allocations: 14.66 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.37, allocations: 0 / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.37, allocations: 3.516 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/1.372, allocations: 1.307 MB / 1.325 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.372, allocations: 0 / 1.325 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/1.372, allocations: 183.5 kB / 1.325 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/1.373, allocations: 75.05 kB / 1.325 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/1.373, allocations: 27.17 kB / 1.325 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/1.375, allocations: 1.662 MB / 1.327 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.375, allocations: 1 kB / 1.327 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/1.377, allocations: 1.276 MB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/1.378, allocations: 357.9 kB / 1.328 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/1.378, allocations: 26.16 kB / 1.328 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/1.379, allocations: 73.3 kB / 1.328 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.379, allocations: 87.95 kB / 1.328 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.785e-05/1.379, allocations: 48.55 kB / 1.328 GB, free: 14.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002381/1.381, allocations: 2.634 MB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.01e-07/1.381, allocations: 3.75 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002394/1.384, allocations: 0.9906 MB / 1.332 GB, free: 13.56 MB / 1.029 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.002277/1.386, allocations: 0.9427 MB / 1.333 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.008319/1.394, allocations: 8.391 MB / 1.341 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.394, allocations: 1.062 kB / 1.341 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/1.395, allocations: 0.6697 MB / 1.342 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.397, allocations: 350 kB / 1.342 GB, free: 6.926 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007848/1.405, allocations: 4.885 MB / 1.347 GB, free: 2.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.406, allocations: 1.724 MB / 1.348 GB, free: 1.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001313/1.407, allocations: 384.9 kB / 1.349 GB, free: 0.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/1.408, allocations: 153.2 kB / 1.349 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of SimCode: time 9.11e-07/1.408, allocations: 0.9375 kB / 1.349 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of Templates: time 0.0568/1.465, allocations: 29.32 MB / 1.378 GB, free: 10.34 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches