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.007192/0.007192, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001714/0.001714, allocations: 198.4 kB / 16.68 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.232/2.232, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9123/0.9136, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007765/0.9215, allocations: 5.738 MB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.221/1.143, allocations: 155.2 MB / 1.245 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/1.145, allocations: 28.62 kB / 1.245 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007073/1.152, allocations: 1.768 MB / 1.247 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003731/1.156, allocations: 0.789 MB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/1.159, allocations: 0.9807 MB / 1.249 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003045/1.162, allocations: 2.369 MB / 1.251 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/1.163, allocations: 0.9759 MB / 1.252 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/1.164, allocations: 0.8759 MB / 1.253 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/1.165, allocations: 0.8985 MB / 1.254 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002584/1.166, allocations: 184 kB / 1.254 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004765/1.17, allocations: 2.263 MB / 1.256 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/1.171, allocations: 1.158 MB / 1.257 GB, free: 460 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009184/1.172, allocations: 0.9053 MB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006548/1.179, allocations: 3.704 MB / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.179, allocations: 0 / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.485e-06/1.179, allocations: 3.938 kB / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.074e-05/1.179, allocations: 0 / 1.262 GB, free: 11.82 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.004297/1.183, allocations: 2.344 MB / 1.264 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.183, allocations: 12.03 kB / 1.264 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.184, allocations: 274.3 kB / 1.264 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/1.188, allocations: 2.932 MB / 1.267 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/1.188, allocations: 102.5 kB / 1.267 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/1.189, allocations: 132 kB / 1.267 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/1.191, allocations: 1.357 MB / 1.269 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.191, allocations: 4 kB / 1.269 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/1.191, allocations: 52 kB / 1.269 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/1.191, allocations: 28 kB / 1.269 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/1.194, allocations: 1.5 MB / 1.27 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007673/1.201, allocations: 5.093 MB / 1.275 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/1.203, allocations: 1.119 MB / 1.276 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007492/1.204, allocations: 447.6 kB / 1.277 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.835e-05/1.204, allocations: 45.08 kB / 1.277 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/1.205, allocations: 0.6489 MB / 1.277 GB, free: 11.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=100): time 4.979e-06/1.206, allocations: 0 / 1.277 GB, free: 11.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=100): time 0.004051/1.21, allocations: 1.656 MB / 1.279 GB, free: 9.781 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.21, allocations: 196.9 kB / 1.279 GB, free: 9.547 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004961/1.215, allocations: 4.098 MB / 1.283 GB, free: 5.441 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/1.215, allocations: 57.7 kB / 1.283 GB, free: 5.379 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006118/1.215, allocations: 0.6569 MB / 1.284 GB, free: 4.715 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/1.216, allocations: 327.3 kB / 1.284 GB, free: 4.391 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008926/1.217, allocations: 0.947 MB / 1.285 GB, free: 3.434 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.217, allocations: 305.1 kB / 1.285 GB, free: 3.133 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006172/1.223, allocations: 6.339 MB / 1.292 GB, free: 12.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00657/1.23, allocations: 6.577 MB / 1.298 GB, free: 6.191 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008414/1.238, allocations: 7.466 MB / 1.305 GB, free: 14.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.238, allocations: 0 / 1.305 GB, free: 14.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01618/1.254, allocations: 14.17 MB / 1.319 GB, free: 460 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/1.254, allocations: 4 kB / 1.319 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/1.254, allocations: 4 kB / 1.319 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/1.255, allocations: 88.81 kB / 1.319 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.256, allocations: 251.6 kB / 1.319 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/1.259, allocations: 1.629 MB / 1.321 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.26, allocations: 145.2 kB / 1.321 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/1.261, allocations: 55.97 kB / 1.321 GB, free: 14.14 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.001376/1.262, allocations: 0.6288 MB / 1.322 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005183/1.263, allocations: 134.2 kB / 1.322 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/1.266, allocations: 1.466 MB / 1.323 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.266, allocations: 12 kB / 1.323 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.266, allocations: 4 kB / 1.323 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/1.266, allocations: 7.969 kB / 1.323 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/1.268, allocations: 1.311 MB / 1.325 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.268, allocations: 0 / 1.325 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/1.269, allocations: 179.7 kB / 1.325 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/1.27, allocations: 76.78 kB / 1.325 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.27, allocations: 35.97 kB / 1.325 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/1.272, allocations: 1.654 MB / 1.327 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.272, allocations: 3.938 kB / 1.327 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/1.275, allocations: 1.27 MB / 1.328 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/1.276, allocations: 362.9 kB / 1.328 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/1.276, allocations: 27.91 kB / 1.328 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/1.277, allocations: 67.92 kB / 1.328 GB, free: 6.637 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/1.277, allocations: 88.88 kB / 1.328 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.662e-05/1.277, allocations: 43.98 kB / 1.328 GB, free: 6.504 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003078/1.28, allocations: 2.642 MB / 1.331 GB, free: 3.859 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.824e-06/1.28, allocations: 0 / 1.331 GB, free: 3.859 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002835/1.283, allocations: 0.9869 MB / 1.332 GB, free: 2.871 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.003272/1.287, allocations: 0.9473 MB / 1.333 GB, free: 2.098 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008861/1.295, allocations: 8.388 MB / 1.341 GB, free: 9.691 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.295, allocations: 0 / 1.341 GB, free: 9.691 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/1.297, allocations: 0.672 MB / 1.342 GB, free: 9.012 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/1.299, allocations: 345.4 kB / 1.342 GB, free: 8.699 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00921/1.308, allocations: 4.89 MB / 1.347 GB, free: 3.766 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/1.31, allocations: 1.723 MB / 1.348 GB, free: 2.012 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001516/1.312, allocations: 398.2 kB / 1.349 GB, free: 1.617 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/1.312, allocations: 143.4 kB / 1.349 GB, free: 1.477 MB / 1.076 GB Notification: Performance of SimCode: time 8.82e-07/1.312, allocations: 0 / 1.349 GB, free: 1.477 MB / 1.076 GB Notification: Performance of Templates: time 0.06419/1.377, allocations: 29.65 MB / 1.378 GB, free: 3.996 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