Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001613/0.001614, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002788/0.002788, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.53 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008247/0.3565, allocations: 6.921 MB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.526, allocations: 153.2 MB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.528, allocations: 23.88 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005227/0.5333, allocations: 1.662 MB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.5364, allocations: 0.781 MB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.5392, allocations: 0.8587 MB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003434/0.5426, allocations: 2.636 MB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.5444, allocations: 0.9146 MB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.546, allocations: 0.7859 MB / 1.231 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.5477, allocations: 0.9039 MB / 1.232 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004906/0.5482, allocations: 96 kB / 1.232 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004779/0.553, allocations: 2.044 MB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.5547, allocations: 1.06 MB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.5564, allocations: 0.8662 MB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007546/0.564, allocations: 3.63 MB / 1.24 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.564, allocations: 4 kB / 1.24 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.564, allocations: 0 / 1.24 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.704e-05/0.5641, allocations: 0 / 1.24 GB, free: 9.742 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.007231/0.5713, allocations: 2.375 MB / 1.242 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.773e-05/0.5714, allocations: 12.02 kB / 1.242 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.5728, allocations: 266.4 kB / 1.242 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/0.577, allocations: 2.912 MB / 1.245 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.5771, allocations: 102.5 kB / 1.245 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.5773, allocations: 132 kB / 1.245 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.5799, allocations: 1.357 MB / 1.247 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.5799, allocations: 0 / 1.247 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.58, allocations: 56 kB / 1.247 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.5801, allocations: 32 kB / 1.247 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.5825, allocations: 1.496 MB / 1.248 GB, free: 0.8281 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6924/1.275, allocations: 5.607 MB / 1.254 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/1.277, allocations: 1.116 MB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007745/1.278, allocations: 442.2 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.955e-05/1.278, allocations: 37.36 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/1.279, allocations: 0.6647 MB / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.665e-06/1.279, allocations: 0 / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003965/1.283, allocations: 1.656 MB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/1.283, allocations: 195.7 kB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005075/1.288, allocations: 4.104 MB / 1.262 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/1.289, allocations: 46.67 kB / 1.262 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/1.289, allocations: 0.6571 MB / 1.263 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/1.29, allocations: 327.4 kB / 1.263 GB, free: 179 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/1.291, allocations: 0.9489 MB / 1.264 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/1.291, allocations: 306.5 kB / 1.264 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007571/1.298, allocations: 6.333 MB / 1.27 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007403/1.306, allocations: 6.577 MB / 1.277 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008298/1.314, allocations: 7.465 MB / 1.284 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/1.314, allocations: 3.938 kB / 1.284 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01269/1.327, allocations: 14.16 MB / 1.298 GB, free: 161 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.327, allocations: 8 kB / 1.298 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.327, allocations: 0.6094 kB / 1.298 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/1.328, allocations: 82.34 kB / 1.298 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.329, allocations: 251.4 kB / 1.298 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.331, allocations: 1.547 MB / 1.3 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.332, allocations: 148.5 kB / 1.3 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.332, allocations: 57.94 kB / 1.3 GB, free: 158.9 MB / 0.9981 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.0009032/1.333, allocations: 0.617 MB / 1.3 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/1.333, allocations: 138.9 kB / 1.301 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/1.336, allocations: 1.478 MB / 1.302 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.336, allocations: 12 kB / 1.302 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.336, allocations: 3.5 kB / 1.302 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/1.336, allocations: 10.83 kB / 1.302 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/1.338, allocations: 1.311 MB / 1.303 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.338, allocations: 0 / 1.303 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/1.339, allocations: 180.6 kB / 1.303 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005308/1.339, allocations: 82.94 kB / 1.304 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.492e-05/1.339, allocations: 30.94 kB / 1.304 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/1.341, allocations: 1.55 MB / 1.305 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.341, allocations: 0 / 1.305 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/1.343, allocations: 1.278 MB / 1.306 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/1.344, allocations: 355 kB / 1.307 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.344, allocations: 33.16 kB / 1.307 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/1.345, allocations: 73 kB / 1.307 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/1.345, allocations: 87.95 kB / 1.307 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/1.345, allocations: 47.36 kB / 1.307 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002089/1.347, allocations: 2.638 MB / 1.309 GB, free: 150 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.347, allocations: 0 / 1.309 GB, free: 150 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00231/1.349, allocations: 1.02 MB / 1.31 GB, free: 149.1 MB / 0.9981 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.002287/1.352, allocations: 0.9434 MB / 1.311 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006881/1.359, allocations: 8.381 MB / 1.32 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.359, allocations: 0 / 1.32 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.36, allocations: 0.6729 MB / 1.32 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.361, allocations: 332.7 kB / 1.321 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/1.368, allocations: 5.632 MB / 1.326 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009519/1.369, allocations: 1.715 MB / 1.328 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001342/1.37, allocations: 389.9 kB / 1.328 GB, free: 132 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/1.371, allocations: 151.4 kB / 1.328 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.371, allocations: 3.938 kB / 1.328 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04807/1.419, allocations: 28.96 MB / 1.357 GB, free: 103.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches