Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00179/0.00179, allocations: 194.9 kB / 16.14 MB, free: 6.652 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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.286/2.286, allocations: 390.2 MB / 0.6642 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7014/0.7027, allocations: 140.4 MB / 0.9489 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008098/0.7108, allocations: 6.954 MB / 0.9557 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1704/0.8812, allocations: 157.4 MB / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.8829, allocations: 35.75 kB / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00477/0.8877, allocations: 1.783 MB / 1.111 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.8908, allocations: 1.074 MB / 1.112 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.8939, allocations: 1.239 MB / 1.113 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004952/0.8989, allocations: 5.197 MB / 1.119 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.9005, allocations: 1.153 MB / 1.12 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.9027, allocations: 1.413 MB / 1.121 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.9047, allocations: 1.401 MB / 1.122 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000497/0.9052, allocations: 132 kB / 1.123 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003617/0.9089, allocations: 2.083 MB / 1.125 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002416/0.9113, allocations: 2.699 MB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.9131, allocations: 1.219 MB / 1.128 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005995/0.9192, allocations: 4.912 MB / 1.133 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9192, allocations: 8 kB / 1.133 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9192, allocations: 0 / 1.133 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.786e-05/0.9193, allocations: 0 / 1.133 GB, free: 4.785 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.006309/0.9256, allocations: 3.358 MB / 1.136 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.9257, allocations: 8.031 kB / 1.136 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.9269, allocations: 361.3 kB / 1.137 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007206/0.9341, allocations: 7.41 MB / 1.144 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-05/0.9342, allocations: 138.9 kB / 1.144 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.9345, allocations: 184 kB / 1.144 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.9374, allocations: 1.968 MB / 1.146 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.9375, allocations: 0 / 1.146 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.9376, allocations: 64 kB / 1.146 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.9376, allocations: 36 kB / 1.146 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.9405, allocations: 1.982 MB / 1.148 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.9523, allocations: 10.16 MB / 1.158 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.955, allocations: 1.787 MB / 1.16 GB, free: 8.977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.9563, allocations: 1.089 MB / 1.161 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/0.9564, allocations: 41.02 kB / 1.161 GB, free: 7.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.9581, allocations: 1.184 MB / 1.162 GB, free: 6.641 MB / 0.92 GB Notification: Performance of pre-optimization done (n=117): time 2.625e-06/0.9581, allocations: 0 / 1.162 GB, free: 6.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=117): time 0.006336/0.9644, allocations: 3.455 MB / 1.166 GB, free: 3.148 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/0.9647, allocations: 346.5 kB / 1.166 GB, free: 2.762 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01344/0.9781, allocations: 11.58 MB / 1.177 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000494/0.9786, allocations: 65.7 kB / 1.177 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000969/0.9796, allocations: 0.9684 MB / 1.178 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.9801, allocations: 390.5 kB / 1.179 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00216/0.9823, allocations: 2.68 MB / 1.181 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.9824, allocations: 309.1 kB / 1.182 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01694/0.9993, allocations: 20.11 MB / 1.201 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01763/1.017, allocations: 20.69 MB / 1.221 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02086/1.038, allocations: 23.56 MB / 1.244 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/1.038, allocations: 4 kB / 1.244 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.5218/1.56, allocations: 44.23 MB / 1.288 GB, free: 261.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/1.56, allocations: 167.6 kB / 1.288 GB, free: 261.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.56, allocations: 0 / 1.288 GB, free: 261.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/1.561, allocations: 87.17 kB / 1.288 GB, free: 261.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/1.562, allocations: 412 kB / 1.288 GB, free: 261 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/1.564, allocations: 1.536 MB / 1.29 GB, free: 259.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.566, allocations: 243.8 kB / 1.29 GB, free: 259.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/1.566, allocations: 107.8 kB / 1.29 GB, free: 259.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (279): * Single equations (assignments): 241 * Array equations: 36 * Algorithm blocks: 1 * 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.001714/1.568, allocations: 1.543 MB / 1.292 GB, free: 257.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/1.568, allocations: 209.5 kB / 1.292 GB, free: 257.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/1.573, allocations: 2.944 MB / 1.295 GB, free: 254.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.573, allocations: 12 kB / 1.295 GB, free: 254.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.573, allocations: 0 / 1.295 GB, free: 254.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.573, allocations: 10.25 kB / 1.295 GB, free: 254.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/1.575, allocations: 1.789 MB / 1.296 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.575, allocations: 4 kB / 1.296 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/1.576, allocations: 183.7 kB / 1.297 GB, free: 252.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/1.576, allocations: 83.89 kB / 1.297 GB, free: 252.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/1.576, allocations: 43.69 kB / 1.297 GB, free: 252.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/1.578, allocations: 1.541 MB / 1.298 GB, free: 251 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.578, allocations: 3.938 kB / 1.298 GB, free: 251 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/1.582, allocations: 2.778 MB / 1.301 GB, free: 248.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006585/1.582, allocations: 493.4 kB / 1.301 GB, free: 247.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/1.583, allocations: 35.94 kB / 1.301 GB, free: 247.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/1.583, allocations: 73.8 kB / 1.302 GB, free: 247.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.584, allocations: 98.94 kB / 1.302 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.584, allocations: 63.75 kB / 1.302 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004481/1.588, allocations: 7.265 MB / 1.309 GB, free: 240.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.588, allocations: 0 / 1.309 GB, free: 240.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00275/1.591, allocations: 1.362 MB / 1.31 GB, free: 238.9 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.002129/1.593, allocations: 0.9392 MB / 1.311 GB, free: 238.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01684/1.61, allocations: 26.78 MB / 1.337 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.61, allocations: 0 / 1.337 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002019/1.612, allocations: 1.903 MB / 1.339 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/1.614, allocations: 397.4 kB / 1.339 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/1.627, allocations: 12.62 MB / 1.352 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/1.629, allocations: 3.004 MB / 1.355 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00175/1.631, allocations: 0.5262 MB / 1.355 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/1.632, allocations: 183.4 kB / 1.355 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/1.632, allocations: 0 / 1.355 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.0825/1.714, allocations: 45.65 MB / 1.4 GB, free: 147.4 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches