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.006465/0.006465, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001423/0.001423, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.191/2.191, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.89 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.017, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007384/1.024, allocations: 5.725 MB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2041/1.228, allocations: 155.2 MB / 1.245 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/1.23, allocations: 28.78 kB / 1.245 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004663/1.235, allocations: 1.783 MB / 1.247 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002872/1.238, allocations: 0.7997 MB / 1.248 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/1.241, allocations: 0.9812 MB / 1.249 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002411/1.243, allocations: 2.373 MB / 1.251 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/1.244, allocations: 0.9798 MB / 1.252 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/1.245, allocations: 0.8721 MB / 1.253 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009581/1.246, allocations: 0.8985 MB / 1.254 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/1.246, allocations: 184 kB / 1.254 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/1.25, allocations: 2.267 MB / 1.256 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008742/1.251, allocations: 1.158 MB / 1.257 GB, free: 368 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007535/1.252, allocations: 0.9092 MB / 1.258 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004423/1.256, allocations: 3.718 MB / 1.262 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.256, allocations: 0 / 1.262 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/1.256, allocations: 4 kB / 1.262 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.951e-05/1.256, allocations: 0 / 1.262 GB, free: 11.71 MB / 0.9981 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.003854/1.26, allocations: 2.422 MB / 1.264 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.26, allocations: 8.031 kB / 1.264 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/1.261, allocations: 279.5 kB / 1.264 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/1.264, allocations: 2.944 MB / 1.267 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/1.265, allocations: 102.5 kB / 1.267 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/1.265, allocations: 132 kB / 1.267 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/1.267, allocations: 1.357 MB / 1.269 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/1.267, allocations: 0 / 1.269 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.267, allocations: 55.98 kB / 1.269 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/1.267, allocations: 36 kB / 1.269 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/1.269, allocations: 1.493 MB / 1.27 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00717/1.276, allocations: 5.098 MB / 1.275 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/1.279, allocations: 1.124 MB / 1.276 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/1.279, allocations: 443.6 kB / 1.277 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.04e-05/1.279, allocations: 41.11 kB / 1.277 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/1.281, allocations: 0.6566 MB / 1.277 GB, free: 11.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=100): time 2.225e-06/1.281, allocations: 0 / 1.277 GB, free: 11.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=100): time 0.004015/1.285, allocations: 1.661 MB / 1.279 GB, free: 9.566 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.285, allocations: 192.9 kB / 1.279 GB, free: 9.336 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005052/1.29, allocations: 4.113 MB / 1.283 GB, free: 5.215 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.29, allocations: 49.7 kB / 1.283 GB, free: 5.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006279/1.291, allocations: 0.662 MB / 1.284 GB, free: 4.492 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/1.291, allocations: 349.1 kB / 1.284 GB, free: 4.148 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000973/1.292, allocations: 0.9643 MB / 1.285 GB, free: 3.176 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.292, allocations: 305.1 kB / 1.286 GB, free: 2.875 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006005/1.298, allocations: 6.331 MB / 1.292 GB, free: 12.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005972/1.304, allocations: 6.581 MB / 1.298 GB, free: 5.938 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007228/1.311, allocations: 7.466 MB / 1.305 GB, free: 14.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.311, allocations: 0 / 1.305 GB, free: 14.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01604/1.327, allocations: 14.17 MB / 1.319 GB, free: 196 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.327, allocations: 8 kB / 1.319 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.327, allocations: 3.984 kB / 1.319 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/1.328, allocations: 84.84 kB / 1.319 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.329, allocations: 247.6 kB / 1.32 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/1.331, allocations: 1.634 MB / 1.321 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.333, allocations: 145.5 kB / 1.321 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/1.333, allocations: 60.02 kB / 1.321 GB, free: 13.87 MB / 1.061 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.001083/1.334, allocations: 0.6169 MB / 1.322 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/1.334, allocations: 147 kB / 1.322 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/1.338, allocations: 1.478 MB / 1.324 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/1.338, allocations: 12 kB / 1.324 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.338, allocations: 4 kB / 1.324 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/1.338, allocations: 7.969 kB / 1.324 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/1.34, allocations: 1.315 MB / 1.325 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.34, allocations: 0 / 1.325 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/1.34, allocations: 179.7 kB / 1.325 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/1.341, allocations: 72.78 kB / 1.325 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/1.341, allocations: 35.97 kB / 1.325 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/1.343, allocations: 1.654 MB / 1.327 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/1.343, allocations: 7.875 kB / 1.327 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/1.345, allocations: 1.271 MB / 1.328 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/1.346, allocations: 379.6 kB / 1.328 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/1.346, allocations: 20 kB / 1.328 GB, free: 6.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/1.347, allocations: 71.92 kB / 1.329 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/1.347, allocations: 92.81 kB / 1.329 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/1.347, allocations: 47.97 kB / 1.329 GB, free: 6.203 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002536/1.35, allocations: 2.634 MB / 1.331 GB, free: 3.566 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.1e-07/1.35, allocations: 0 / 1.331 GB, free: 3.566 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002378/1.352, allocations: 0.9976 MB / 1.332 GB, free: 2.566 MB / 1.061 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.003094/1.355, allocations: 0.9532 MB / 1.333 GB, free: 1.785 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008209/1.364, allocations: 8.396 MB / 1.341 GB, free: 9.371 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.364, allocations: 0 / 1.341 GB, free: 9.371 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/1.365, allocations: 0.6641 MB / 1.342 GB, free: 8.699 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.366, allocations: 351.6 kB / 1.342 GB, free: 8.379 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008375/1.375, allocations: 4.976 MB / 1.347 GB, free: 3.355 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/1.377, allocations: 1.718 MB / 1.349 GB, free: 1.605 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001382/1.378, allocations: 394.2 kB / 1.349 GB, free: 1.215 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/1.378, allocations: 147.4 kB / 1.349 GB, free: 1.07 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/1.378, allocations: 0 / 1.349 GB, free: 1.07 MB / 1.076 GB Notification: Performance of Templates: time 0.05583/1.434, allocations: 29.21 MB / 1.378 GB, free: 4.031 MB / 1.107 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