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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001528/0.001528, allocations: 107.5 kB / 16.36 MB, free: 5.824 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.001663/0.001663, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 68.22 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3012, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008665/0.3099, allocations: 6.975 MB / 1.034 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6222/0.9321, allocations: 155.3 MB / 1.185 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.9333, allocations: 24.56 kB / 1.185 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004581/0.938, allocations: 1.807 MB / 1.187 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.9406, allocations: 0.8944 MB / 1.188 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.943, allocations: 0.9824 MB / 1.189 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003056/0.9461, allocations: 2.59 MB / 1.191 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.9475, allocations: 0.9356 MB / 1.192 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.9491, allocations: 0.8989 MB / 1.193 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.9508, allocations: 0.9341 MB / 1.194 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005172/0.9513, allocations: 184.7 kB / 1.194 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.9557, allocations: 2.278 MB / 1.196 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.957, allocations: 1.149 MB / 1.198 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.9586, allocations: 0.9418 MB / 1.199 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006492/0.9651, allocations: 3.773 MB / 1.202 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9652, allocations: 0 / 1.202 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9652, allocations: 4 kB / 1.202 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001206/0.9653, allocations: 0 / 1.202 GB, free: 6.816 MB / 0.9044 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.006416/0.9717, allocations: 2.379 MB / 1.205 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.9718, allocations: 7.344 kB / 1.205 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.9731, allocations: 271.1 kB / 1.205 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.9772, allocations: 2.933 MB / 1.208 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.319e-05/0.9773, allocations: 113.3 kB / 1.208 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.9775, allocations: 134.6 kB / 1.208 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.98, allocations: 1.357 MB / 1.209 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.9801, allocations: 0 / 1.209 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.9802, allocations: 52 kB / 1.209 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.9802, allocations: 32 kB / 1.209 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.9827, allocations: 1.5 MB / 1.211 GB, free: 0.7305 MB / 0.9044 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.008002/0.9907, allocations: 5.566 MB / 1.216 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.9928, allocations: 1.129 MB / 1.217 GB, free: 9.836 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.9936, allocations: 443.7 kB / 1.218 GB, free: 9.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.676e-05/0.9937, allocations: 37.09 kB / 1.218 GB, free: 9.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.9948, allocations: 0.6572 MB / 1.218 GB, free: 8.691 MB / 0.92 GB Notification: Performance of pre-optimization done (n=100): time 3.486e-06/0.9948, allocations: 3.938 kB / 1.218 GB, free: 8.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=100): time 0.00403/0.9988, allocations: 1.66 MB / 1.22 GB, free: 7 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.999, allocations: 188.9 kB / 1.22 GB, free: 6.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004973/1.004, allocations: 4.106 MB / 1.224 GB, free: 2.656 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/1.004, allocations: 57.69 kB / 1.224 GB, free: 2.594 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006235/1.005, allocations: 0.653 MB / 1.225 GB, free: 1.934 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/1.005, allocations: 331.3 kB / 1.225 GB, free: 1.605 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/1.006, allocations: 0.9509 MB / 1.226 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/1.006, allocations: 301.1 kB / 1.226 GB, free: 356 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005688/1.012, allocations: 6.339 MB / 1.233 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006086/1.018, allocations: 6.573 MB / 1.239 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007409/1.026, allocations: 7.462 MB / 1.246 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.026, allocations: 0 / 1.246 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01555/1.041, allocations: 14.17 MB / 1.26 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.041, allocations: 8.125 kB / 1.26 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/1.041, allocations: 4 kB / 1.26 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006522/1.042, allocations: 84.77 kB / 1.26 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.043, allocations: 251.6 kB / 1.261 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/1.045, allocations: 1.627 MB / 1.262 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.047, allocations: 138.8 kB / 1.262 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/1.047, allocations: 63.94 kB / 1.262 GB, free: 11.36 MB / 0.9669 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.001025/1.048, allocations: 0.6169 MB / 1.263 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/1.048, allocations: 138.3 kB / 1.263 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/1.052, allocations: 1.479 MB / 1.264 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.052, allocations: 8 kB / 1.264 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.052, allocations: 4 kB / 1.264 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.052, allocations: 7.969 kB / 1.264 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/1.053, allocations: 1.296 MB / 1.266 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.053, allocations: 3.938 kB / 1.266 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/1.054, allocations: 187.7 kB / 1.266 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/1.055, allocations: 68.78 kB / 1.266 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-05/1.055, allocations: 35.91 kB / 1.266 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/1.057, allocations: 1.662 MB / 1.268 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.057, allocations: 0 / 1.268 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/1.059, allocations: 1.274 MB / 1.269 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/1.06, allocations: 362.9 kB / 1.269 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/1.06, allocations: 31.84 kB / 1.269 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008601/1.061, allocations: 67.92 kB / 1.269 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/1.061, allocations: 88.88 kB / 1.269 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/1.061, allocations: 51.91 kB / 1.269 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002477/1.064, allocations: 2.634 MB / 1.272 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/1.064, allocations: 4 kB / 1.272 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002219/1.066, allocations: 1.01 MB / 1.273 GB, free: 72 kB / 0.9669 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.002592/1.069, allocations: 0.9581 MB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007829/1.076, allocations: 8.384 MB / 1.282 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.076, allocations: 4 kB / 1.282 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/1.078, allocations: 0.6761 MB / 1.283 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/1.079, allocations: 358.9 kB / 1.283 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/1.086, allocations: 4.805 MB / 1.288 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/1.088, allocations: 1.718 MB / 1.29 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001181/1.089, allocations: 390.4 kB / 1.29 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/1.089, allocations: 151.3 kB / 1.29 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.089, allocations: 0 / 1.29 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.05603/1.145, allocations: 29.91 MB / 1.319 GB, free: 1.051 MB / 1.014 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 -s gbode -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/jenkins1/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