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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008285/0.0008285, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005426/0.005426, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 462.6 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003862, allocations: 12.31 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3551, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007654/0.3629, allocations: 6.475 MB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.188/0.5509, allocations: 151 MB / 1.212 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.5529, allocations: 19.88 kB / 1.212 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005356/0.5583, allocations: 1.647 MB / 1.214 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003415/0.5617, allocations: 0.785 MB / 1.215 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.5644, allocations: 0.8553 MB / 1.216 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003322/0.5677, allocations: 2.637 MB / 1.218 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.569, allocations: 0.8834 MB / 1.219 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.5702, allocations: 0.665 MB / 1.22 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.5712, allocations: 0.7346 MB / 1.22 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.5714, allocations: 40 kB / 1.22 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.5751, allocations: 1.997 MB / 1.222 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008592/0.576, allocations: 0.9823 MB / 1.223 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008478/0.5768, allocations: 0.7743 MB / 1.224 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005316/0.5821, allocations: 3.552 MB / 1.228 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5822, allocations: 0 / 1.228 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5822, allocations: 0 / 1.228 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.081e-05/0.5822, allocations: 0 / 1.228 GB, free: 7.754 MB / 0.9825 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.004495/0.5867, allocations: 2.017 MB / 1.23 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.5868, allocations: 8.031 kB / 1.23 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.5879, allocations: 282.4 kB / 1.23 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.5916, allocations: 2.908 MB / 1.233 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/0.5917, allocations: 102.5 kB / 1.233 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.5919, allocations: 132 kB / 1.233 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.5944, allocations: 1.368 MB / 1.234 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.5944, allocations: 4 kB / 1.234 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.5946, allocations: 59.98 kB / 1.234 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.5946, allocations: 32 kB / 1.234 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.597, allocations: 1.504 MB / 1.236 GB, free: 15.17 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.008449/0.6054, allocations: 5.652 MB / 1.241 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.6075, allocations: 1.126 MB / 1.242 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.6083, allocations: 457.3 kB / 1.243 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.6084, allocations: 37.11 kB / 1.243 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/0.6096, allocations: 0.6529 MB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.705e-06/0.6096, allocations: 0 / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.004039/0.6137, allocations: 1.68 MB / 1.245 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6138, allocations: 192.9 kB / 1.245 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004863/0.6187, allocations: 4.11 MB / 1.249 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.6189, allocations: 45.7 kB / 1.249 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006028/0.6195, allocations: 0.6492 MB / 1.25 GB, free: 288 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.6894/1.309, allocations: 320.2 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/1.31, allocations: 0.7871 MB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/1.31, allocations: 307.1 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006608/1.317, allocations: 6.342 MB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008138/1.325, allocations: 6.586 MB / 1.264 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009083/1.334, allocations: 7.477 MB / 1.271 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/1.334, allocations: 3.828 kB / 1.271 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01513/1.349, allocations: 14.17 MB / 1.285 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/1.349, allocations: 8.516 kB / 1.285 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.349, allocations: 0 / 1.285 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/1.35, allocations: 87.61 kB / 1.285 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.351, allocations: 254.8 kB / 1.286 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/1.353, allocations: 1.525 MB / 1.287 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.354, allocations: 157.3 kB / 1.287 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.354, allocations: 63.73 kB / 1.287 GB, free: 180.1 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.0008708/1.355, allocations: 0.6223 MB / 1.288 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/1.355, allocations: 139.8 kB / 1.288 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/1.358, allocations: 1.485 MB / 1.289 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.358, allocations: 12 kB / 1.289 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.358, allocations: 3.938 kB / 1.289 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.358, allocations: 7.594 kB / 1.289 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/1.36, allocations: 1.302 MB / 1.291 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.36, allocations: 3.781 kB / 1.291 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/1.361, allocations: 188.3 kB / 1.291 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/1.361, allocations: 81.89 kB / 1.291 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/1.361, allocations: 34.23 kB / 1.291 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/1.363, allocations: 1.546 MB / 1.293 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.363, allocations: 1.875 kB / 1.293 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/1.365, allocations: 1.28 MB / 1.294 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/1.365, allocations: 401.1 kB / 1.294 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.366, allocations: 24.66 kB / 1.294 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/1.366, allocations: 97.05 kB / 1.294 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.367, allocations: 85.11 kB / 1.294 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/1.367, allocations: 47.88 kB / 1.294 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001993/1.369, allocations: 2.634 MB / 1.297 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.673e-06/1.369, allocations: 3.188 kB / 1.297 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002068/1.371, allocations: 1.018 MB / 1.298 GB, free: 170.3 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.002125/1.373, allocations: 0.9384 MB / 1.299 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006602/1.38, allocations: 8.4 MB / 1.307 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.38, allocations: 1.484 kB / 1.307 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/1.381, allocations: 0.6669 MB / 1.308 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.382, allocations: 341.2 kB / 1.308 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/1.388, allocations: 5.688 MB / 1.314 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.389, allocations: 1.716 MB / 1.315 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001243/1.391, allocations: 398.7 kB / 1.316 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/1.391, allocations: 149.6 kB / 1.316 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.391, allocations: 0 / 1.316 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03811/1.429, allocations: 27.66 MB / 1.343 GB, free: 127.2 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