Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.0009659/0.0009658, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007852/0.007852, allocations: 169.1 kB / 16.26 MB, free: 6.328 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.362/2.362, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 11.94 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7164/0.7168, allocations: 142.4 MB / 0.955 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005803/0.7226, allocations: 5.282 MB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2111/0.9338, allocations: 150.9 MB / 1.108 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.935, allocations: 19.88 kB / 1.108 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006593/0.9416, allocations: 1.619 MB / 1.109 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.9448, allocations: 0.6985 MB / 1.11 GB, free: 348 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.9482, allocations: 0.8342 MB / 1.111 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003593/0.9518, allocations: 2.431 MB / 1.113 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.9536, allocations: 0.9296 MB / 1.114 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.9548, allocations: 0.6337 MB / 1.115 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.956, allocations: 0.715 MB / 1.115 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.9562, allocations: 40 kB / 1.115 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004906/0.9611, allocations: 1.993 MB / 1.117 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.9625, allocations: 0.9784 MB / 1.118 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.9635, allocations: 0.7352 MB / 1.119 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.9696, allocations: 3.478 MB / 1.122 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9696, allocations: 0 / 1.122 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9696, allocations: 0 / 1.122 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.9697, allocations: 0 / 1.122 GB, free: 3.496 MB / 0.8731 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.005395/0.9751, allocations: 1.998 MB / 1.124 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.9751, allocations: 8.031 kB / 1.124 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.9767, allocations: 278.4 kB / 1.124 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003983/0.9807, allocations: 2.901 MB / 1.127 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.407e-05/0.9808, allocations: 98.55 kB / 1.127 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.981, allocations: 139.9 kB / 1.128 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.9833, allocations: 1.36 MB / 1.129 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.9834, allocations: 0 / 1.129 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.9835, allocations: 59.98 kB / 1.129 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.9835, allocations: 35.98 kB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.9859, allocations: 1.504 MB / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007193/0.9932, allocations: 5.183 MB / 1.135 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.9952, allocations: 1.131 MB / 1.137 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007562/0.996, allocations: 451.6 kB / 1.137 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.207e-05/0.9961, allocations: 33.09 kB / 1.137 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.9972, allocations: 0.6568 MB / 1.138 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=100): time 2.274e-06/0.9972, allocations: 0 / 1.138 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100): time 0.003882/1.001, allocations: 1.676 MB / 1.139 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/1.001, allocations: 192.9 kB / 1.14 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004566/1.006, allocations: 4.098 MB / 1.144 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.712e-05/1.006, allocations: 57.7 kB / 1.144 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005389/1.006, allocations: 0.653 MB / 1.144 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/1.007, allocations: 327.4 kB / 1.145 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000658/1.007, allocations: 0.7936 MB / 1.145 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.007, allocations: 301.1 kB / 1.146 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005955/1.013, allocations: 6.335 MB / 1.152 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006133/1.02, allocations: 6.585 MB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007247/1.027, allocations: 7.474 MB / 1.166 GB, free: 6.738 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.027, allocations: 0 / 1.166 GB, free: 6.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01406/1.041, allocations: 14.17 MB / 1.179 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/1.041, allocations: 8 kB / 1.179 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.041, allocations: 0 / 1.179 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/1.042, allocations: 88.83 kB / 1.179 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.043, allocations: 251.5 kB / 1.18 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/1.045, allocations: 1.528 MB / 1.181 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.046, allocations: 147.3 kB / 1.181 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/1.046, allocations: 64.02 kB / 1.181 GB, free: 6.285 MB / 0.9356 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.001071/1.047, allocations: 0.6246 MB / 1.182 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/1.048, allocations: 138.2 kB / 1.182 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/1.051, allocations: 1.486 MB / 1.184 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.051, allocations: 12 kB / 1.184 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.051, allocations: 0 / 1.184 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/1.051, allocations: 7.969 kB / 1.184 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/1.052, allocations: 1.31 MB / 1.185 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.052, allocations: 0 / 1.185 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/1.053, allocations: 183.7 kB / 1.185 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/1.053, allocations: 88.7 kB / 1.185 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/1.054, allocations: 27.98 kB / 1.185 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/1.055, allocations: 1.556 MB / 1.187 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.055, allocations: 0 / 1.187 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/1.058, allocations: 1.282 MB / 1.188 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/1.058, allocations: 394.7 kB / 1.188 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.058, allocations: 28 kB / 1.188 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/1.059, allocations: 85.55 kB / 1.188 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.059, allocations: 88.81 kB / 1.188 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/1.059, allocations: 47.97 kB / 1.189 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002415/1.062, allocations: 2.634 MB / 1.191 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.062, allocations: 0 / 1.191 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002042/1.064, allocations: 0.9947 MB / 1.192 GB, free: 11.05 MB / 0.9512 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.002559/1.067, allocations: 0.9558 MB / 1.193 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008443/1.075, allocations: 8.392 MB / 1.201 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.075, allocations: 3.938 kB / 1.201 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/1.076, allocations: 0.6684 MB / 1.202 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.078, allocations: 317.8 kB / 1.202 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.088, allocations: 5.828 MB / 1.208 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/1.09, allocations: 1.719 MB / 1.21 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001424/1.092, allocations: 382.2 kB / 1.21 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/1.092, allocations: 143.4 kB / 1.21 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of SimCode: time 7.41e-07/1.092, allocations: 4 kB / 1.21 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of Templates: time 0.04576/1.138, allocations: 26.89 MB / 1.236 GB, free: 14.02 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches