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.00108/0.00108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001227/0.001227, allocations: 191 kB / 16.25 MB, free: 6.637 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.48/2.48, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7107, allocations: 140.4 MB / 0.9491 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007323/0.718, allocations: 5.727 MB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1998/0.9179, allocations: 153 MB / 1.104 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.9199, allocations: 23.88 kB / 1.104 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00565/0.9256, allocations: 1.616 MB / 1.106 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.9291, allocations: 0.7205 MB / 1.106 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.932, allocations: 0.8732 MB / 1.107 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00355/0.9356, allocations: 2.373 MB / 1.11 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.937, allocations: 0.9759 MB / 1.111 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.9385, allocations: 0.8797 MB / 1.111 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.9397, allocations: 0.9219 MB / 1.112 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.94, allocations: 184 kB / 1.112 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/0.9444, allocations: 2.247 MB / 1.115 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.9456, allocations: 1.158 MB / 1.116 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.9468, allocations: 0.9015 MB / 1.117 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007274/0.954, allocations: 3.654 MB / 1.12 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9541, allocations: 0 / 1.12 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.544e-06/0.9541, allocations: 0 / 1.12 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.241e-05/0.9541, allocations: 0 / 1.12 GB, free: 2.285 MB / 0.8731 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.005215/0.9594, allocations: 2.344 MB / 1.123 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.9594, allocations: 12.03 kB / 1.123 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.9606, allocations: 262.4 kB / 1.123 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/0.964, allocations: 2.908 MB / 1.126 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-05/0.9641, allocations: 102.5 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.9643, allocations: 132 kB / 1.126 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.9668, allocations: 1.364 MB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.9669, allocations: 0 / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.967, allocations: 56 kB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.9671, allocations: 28 kB / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.9694, allocations: 1.5 MB / 1.129 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0081/0.9775, allocations: 5.14 MB / 1.134 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.9798, allocations: 1.125 MB / 1.135 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/0.9805, allocations: 439.7 kB / 1.135 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.9806, allocations: 49.03 kB / 1.135 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.9817, allocations: 0.6451 MB / 1.136 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=100): time 2.965e-06/0.9817, allocations: 0 / 1.136 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100): time 0.004482/0.9862, allocations: 1.664 MB / 1.138 GB, free: 224 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/0.9864, allocations: 188.9 kB / 1.138 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/0.9915, allocations: 4.106 MB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003134/0.9919, allocations: 53.7 kB / 1.142 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006026/0.9925, allocations: 0.6568 MB / 1.142 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/0.9928, allocations: 323.4 kB / 1.143 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008771/0.9937, allocations: 0.9586 MB / 1.144 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.9938, allocations: 301.1 kB / 1.144 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005862/0.9997, allocations: 6.331 MB / 1.15 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006304/1.006, allocations: 6.581 MB / 1.157 GB, free: 12.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007287/1.013, allocations: 7.466 MB / 1.164 GB, free: 5.113 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.013, allocations: 3.938 kB / 1.164 GB, free: 5.109 MB / 0.92 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01489/1.028, allocations: 14.16 MB / 1.178 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/1.028, allocations: 4 kB / 1.178 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.028, allocations: 0 / 1.178 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007539/1.029, allocations: 88.83 kB / 1.178 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.031, allocations: 247.6 kB / 1.178 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/1.033, allocations: 1.637 MB / 1.18 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.035, allocations: 148.8 kB / 1.18 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.035, allocations: 55.97 kB / 1.18 GB, free: 4.559 MB / 0.9356 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.001285/1.036, allocations: 0.613 MB / 1.18 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/1.037, allocations: 142.2 kB / 1.181 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003256/1.04, allocations: 1.482 MB / 1.182 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.04, allocations: 12 kB / 1.182 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/1.04, allocations: 0 / 1.182 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.04, allocations: 3.984 kB / 1.182 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/1.042, allocations: 1.31 MB / 1.183 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.042, allocations: 0 / 1.183 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007595/1.042, allocations: 183.8 kB / 1.183 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/1.043, allocations: 76.73 kB / 1.184 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/1.043, allocations: 27.97 kB / 1.184 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/1.045, allocations: 1.654 MB / 1.185 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/1.045, allocations: 7.922 kB / 1.185 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/1.047, allocations: 1.274 MB / 1.186 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/1.048, allocations: 362.9 kB / 1.187 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.048, allocations: 28.05 kB / 1.187 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007865/1.049, allocations: 67.94 kB / 1.187 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/1.049, allocations: 84.88 kB / 1.187 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/1.049, allocations: 47.97 kB / 1.187 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002429/1.052, allocations: 2.638 MB / 1.19 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.643e-06/1.052, allocations: 0 / 1.19 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002438/1.054, allocations: 0.9946 MB / 1.191 GB, free: 9.293 MB / 0.9512 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.00249/1.057, allocations: 0.9481 MB / 1.191 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009747/1.066, allocations: 8.677 MB / 1.2 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.066, allocations: 0 / 1.2 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/1.068, allocations: 0.676 MB / 1.201 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/1.07, allocations: 340.9 kB / 1.201 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008385/1.078, allocations: 5.734 MB / 1.207 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/1.08, allocations: 1.722 MB / 1.208 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001933/1.082, allocations: 394.2 kB / 1.209 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/1.083, allocations: 147.4 kB / 1.209 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of SimCode: time 2.695e-06/1.083, allocations: 0 / 1.209 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of Templates: time 0.0821/1.165, allocations: 28.88 MB / 1.237 GB, free: 10.06 MB / 0.9981 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