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.005242/0.005242, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.00118/0.00118, allocations: 196.3 kB / 16.67 MB, free: 5.977 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.389/2.389, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 70.78 kB / 0.9509 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3402, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008437/0.3487, allocations: 5.725 MB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1826/0.5313, allocations: 155.2 MB / 1.245 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.533, allocations: 23.88 kB / 1.245 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005357/0.5385, allocations: 1.782 MB / 1.247 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.5415, allocations: 0.8034 MB / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.5445, allocations: 0.9822 MB / 1.249 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003267/0.5477, allocations: 2.373 MB / 1.251 GB, free: 9.914 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.5494, allocations: 0.9797 MB / 1.252 GB, free: 8.898 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.551, allocations: 0.8799 MB / 1.253 GB, free: 8.016 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.5527, allocations: 0.8947 MB / 1.254 GB, free: 7.117 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005261/0.5533, allocations: 184 kB / 1.254 GB, free: 6.938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004257/0.5575, allocations: 2.27 MB / 1.256 GB, free: 4.664 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.5589, allocations: 1.15 MB / 1.257 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.5605, allocations: 0.9092 MB / 1.258 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.8292/1.39, allocations: 3.696 MB / 1.262 GB, free: 11.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.39, allocations: 1.156 kB / 1.262 GB, free: 11.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/1.39, allocations: 0 / 1.262 GB, free: 11.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001011/1.39, allocations: 0 / 1.262 GB, free: 11.05 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.0067/1.397, allocations: 2.339 MB / 1.264 GB, free: 9.949 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/1.397, allocations: 12.12 kB / 1.264 GB, free: 9.949 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/1.398, allocations: 270.6 kB / 1.264 GB, free: 9.848 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005987/1.404, allocations: 2.929 MB / 1.267 GB, free: 9.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/1.405, allocations: 107.8 kB / 1.267 GB, free: 9.422 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/1.405, allocations: 132.4 kB / 1.267 GB, free: 9.422 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/1.408, allocations: 1.36 MB / 1.269 GB, free: 9.246 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/1.408, allocations: 1.656 kB / 1.269 GB, free: 9.246 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.408, allocations: 52.22 kB / 1.269 GB, free: 9.246 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/1.408, allocations: 32.06 kB / 1.269 GB, free: 9.246 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/1.411, allocations: 1.497 MB / 1.27 GB, free: 9.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/1.422, allocations: 5.082 MB / 1.275 GB, free: 8.371 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/1.424, allocations: 1.127 MB / 1.276 GB, free: 8.332 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008465/1.425, allocations: 443.7 kB / 1.277 GB, free: 8.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/1.425, allocations: 37.86 kB / 1.277 GB, free: 8.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/1.427, allocations: 0.6578 MB / 1.277 GB, free: 8.242 MB / 1.014 GB Notification: Performance of pre-optimization done (n=100): time 4.008e-06/1.427, allocations: 0.9688 kB / 1.277 GB, free: 8.242 MB / 1.014 GB Notification: Performance of matching and sorting (n=100): time 0.004498/1.431, allocations: 1.661 MB / 1.279 GB, free: 8.004 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/1.431, allocations: 194.2 kB / 1.279 GB, free: 7.785 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/1.438, allocations: 4.104 MB / 1.283 GB, free: 7.621 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004092/1.438, allocations: 47.95 kB / 1.283 GB, free: 7.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006507/1.439, allocations: 0.6546 MB / 1.284 GB, free: 7.336 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/1.439, allocations: 329.8 kB / 1.284 GB, free: 7.133 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/1.44, allocations: 0.9529 MB / 1.285 GB, free: 6.953 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/1.44, allocations: 304.6 kB / 1.285 GB, free: 6.656 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007092/1.447, allocations: 6.335 MB / 1.292 GB, free: 6.652 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007706/1.455, allocations: 6.584 MB / 1.298 GB, free: 6.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/1.462, allocations: 7.463 MB / 1.305 GB, free: 6.066 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.462, allocations: 0 / 1.305 GB, free: 6.066 MB / 1.014 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01454/1.477, allocations: 14.17 MB / 1.319 GB, free: 3.953 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/1.477, allocations: 5.781 kB / 1.319 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.477, allocations: 3.094 kB / 1.319 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/1.478, allocations: 84.02 kB / 1.319 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.479, allocations: 249.7 kB / 1.319 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/1.481, allocations: 1.629 MB / 1.321 GB, free: 2.414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.482, allocations: 144.5 kB / 1.321 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/1.483, allocations: 60.42 kB / 1.321 GB, free: 2.324 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.001066/1.484, allocations: 0.6167 MB / 1.322 GB, free: 2.047 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/1.484, allocations: 141.2 kB / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/1.487, allocations: 1.481 MB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/1.487, allocations: 11.53 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.487, allocations: 0 / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.487, allocations: 3.141 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/1.489, allocations: 1.305 MB / 1.325 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.489, allocations: 0 / 1.325 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/1.489, allocations: 181.3 kB / 1.325 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/1.49, allocations: 74.86 kB / 1.325 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-05/1.49, allocations: 31.3 kB / 1.325 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/1.492, allocations: 1.659 MB / 1.327 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.492, allocations: 3.906 kB / 1.327 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.494, allocations: 1.275 MB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006919/1.495, allocations: 358.7 kB / 1.328 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.495, allocations: 28.5 kB / 1.328 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007554/1.496, allocations: 70.08 kB / 1.328 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/1.496, allocations: 91.91 kB / 1.328 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.496, allocations: 45.19 kB / 1.328 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002786/1.499, allocations: 2.641 MB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.7e-07/1.499, allocations: 0 / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002936/1.502, allocations: 0.9902 MB / 1.332 GB, free: 13.57 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.002838/1.505, allocations: 0.9505 MB / 1.333 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.009231/1.514, allocations: 8.388 MB / 1.341 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.514, allocations: 0.875 kB / 1.341 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.516, allocations: 0.6703 MB / 1.342 GB, free: 7.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/1.517, allocations: 345.5 kB / 1.342 GB, free: 6.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008154/1.526, allocations: 4.883 MB / 1.347 GB, free: 2.422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.527, allocations: 1.724 MB / 1.349 GB, free: 1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001498/1.529, allocations: 389.7 kB / 1.349 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/1.529, allocations: 146.8 kB / 1.349 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of SimCode: time 2.565e-06/1.529, allocations: 0 / 1.349 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of Templates: time 0.05821/1.587, allocations: 29.33 MB / 1.378 GB, free: 10.36 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