Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001023/0.001023, 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.008914/0.008914, allocations: 169.6 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.7279, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007994/0.7359, allocations: 6.493 MB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1657/0.9017, allocations: 151 MB / 1.177 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.9038, allocations: 27.88 kB / 1.177 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004953/0.9088, allocations: 1.649 MB / 1.178 GB, free: 112 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.9115, allocations: 0.7982 MB / 1.179 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.9138, allocations: 0.854 MB / 1.18 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002889/0.9167, allocations: 2.621 MB / 1.183 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.9179, allocations: 0.9028 MB / 1.183 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.919, allocations: 0.661 MB / 1.184 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000936/0.9199, allocations: 0.7385 MB / 1.185 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.92, allocations: 44 kB / 1.185 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.9233, allocations: 1.985 MB / 1.187 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008059/0.9241, allocations: 0.9823 MB / 1.188 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007141/0.9248, allocations: 0.7781 MB / 1.189 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.929, allocations: 3.544 MB / 1.192 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.929, allocations: 4 kB / 1.192 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/0.929, allocations: 0 / 1.192 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.491e-05/0.9291, allocations: 4 kB / 1.192 GB, free: 2.109 MB / 0.9356 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.003708/0.9328, allocations: 2.015 MB / 1.194 GB, free: 44 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.9328, allocations: 12.03 kB / 1.194 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.9339, allocations: 278.6 kB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.9372, allocations: 2.901 MB / 1.197 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.525e-05/0.9373, allocations: 102.5 kB / 1.197 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.9374, allocations: 136 kB / 1.197 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.9397, allocations: 1.364 MB / 1.199 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.9398, allocations: 0 / 1.199 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.9399, allocations: 55.98 kB / 1.199 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.9399, allocations: 32 kB / 1.199 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.9423, allocations: 1.512 MB / 1.2 GB, free: 9.531 MB / 0.9512 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.007402/0.9497, allocations: 5.65 MB / 1.206 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.9517, allocations: 1.139 MB / 1.207 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007236/0.9525, allocations: 447.6 kB / 1.207 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.5e-05/0.9526, allocations: 37.11 kB / 1.207 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.9537, allocations: 0.6644 MB / 1.208 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=100): time 2.846e-06/0.9537, allocations: 0 / 1.208 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100): time 0.003966/0.9577, allocations: 1.664 MB / 1.21 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.9578, allocations: 204.9 kB / 1.21 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004654/0.9624, allocations: 4.102 MB / 1.214 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.9627, allocations: 49.7 kB / 1.214 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/0.9633, allocations: 0.6569 MB / 1.214 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.9636, allocations: 327.3 kB / 1.215 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006108/0.9642, allocations: 0.7898 MB / 1.216 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.9643, allocations: 301.1 kB / 1.216 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005668/0.97, allocations: 6.343 MB / 1.222 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006014/0.9761, allocations: 6.577 MB / 1.228 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007104/0.9832, allocations: 7.478 MB / 1.236 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.9832, allocations: 0 / 1.236 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01411/0.9973, allocations: 14.17 MB / 1.25 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.9974, allocations: 8 kB / 1.25 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.9974, allocations: 0 / 1.25 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006448/0.9981, allocations: 88.83 kB / 1.25 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.9993, allocations: 251.5 kB / 1.25 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/1.001, allocations: 1.531 MB / 1.251 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/1.003, allocations: 170.7 kB / 1.252 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.003, allocations: 59.91 kB / 1.252 GB, free: 4.266 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.000964/1.004, allocations: 0.6137 MB / 1.252 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/1.004, allocations: 142.2 kB / 1.252 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/1.007, allocations: 1.49 MB / 1.254 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.007, allocations: 12 kB / 1.254 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.007, allocations: 0 / 1.254 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.007, allocations: 7.984 kB / 1.254 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/1.009, allocations: 1.3 MB / 1.255 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.009, allocations: 0 / 1.255 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/1.01, allocations: 179.7 kB / 1.255 GB, free: 452 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005383/1.01, allocations: 92.7 kB / 1.255 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/1.01, allocations: 31.97 kB / 1.255 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6355/1.646, allocations: 1.545 MB / 1.257 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.646, allocations: 3.875 kB / 1.257 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/1.65, allocations: 1.284 MB / 1.258 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/1.65, allocations: 391.5 kB / 1.259 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/1.651, allocations: 25.11 kB / 1.259 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008737/1.651, allocations: 103.3 kB / 1.259 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.652, allocations: 83.11 kB / 1.259 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.652, allocations: 47.16 kB / 1.259 GB, free: 228 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003882/1.656, allocations: 2.636 MB / 1.261 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.656, allocations: 0 / 1.261 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003233/1.659, allocations: 1.012 MB / 1.262 GB, free: 227.2 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.002622/1.662, allocations: 0.9598 MB / 1.263 GB, free: 227 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.673, allocations: 8.395 MB / 1.271 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.673, allocations: 2.062 kB / 1.271 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/1.675, allocations: 0.6686 MB / 1.272 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/1.677, allocations: 338.2 kB / 1.272 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007909/1.684, allocations: 5.683 MB / 1.278 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/1.686, allocations: 1.718 MB / 1.28 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001501/1.687, allocations: 388.9 kB / 1.28 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/1.688, allocations: 149 kB / 1.28 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.51e-07/1.688, allocations: 3.938 kB / 1.28 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05041/1.738, allocations: 27.68 MB / 1.307 GB, free: 196.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches