Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001473/0.001473, allocations: 110 kB / 16.37 MB, free: 6.469 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.001488/0.001488, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.28 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3251, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009819/0.335, allocations: 8.213 MB / 1.035 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7562/1.091, allocations: 159.5 MB / 1.191 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/1.094, allocations: 38.47 kB / 1.191 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006397/1.1, allocations: 1.981 MB / 1.193 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004244/1.104, allocations: 1.283 MB / 1.194 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004019/1.108, allocations: 1.437 MB / 1.195 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007031/1.115, allocations: 5.452 MB / 1.2 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/1.118, allocations: 1.117 MB / 1.202 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/1.121, allocations: 1.694 MB / 1.203 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/1.124, allocations: 1.485 MB / 1.205 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009337/1.125, allocations: 276.6 kB / 1.205 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005343/1.131, allocations: 2.363 MB / 1.207 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003149/1.134, allocations: 2.842 MB / 1.21 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002412/1.136, allocations: 1.405 MB / 1.211 GB, free: 308 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009226/1.146, allocations: 5.181 MB / 1.216 GB, free: 11.11 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.146, allocations: 0 / 1.216 GB, free: 11.11 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.973e-06/1.146, allocations: 0 / 1.216 GB, free: 11.11 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001334/1.146, allocations: 0 / 1.216 GB, free: 11.11 MB / 0.92 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.008351/1.154, allocations: 3.397 MB / 1.22 GB, free: 7.637 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.154, allocations: 12.03 kB / 1.22 GB, free: 7.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/1.155, allocations: 357.3 kB / 1.22 GB, free: 7.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008877/1.164, allocations: 7.449 MB / 1.227 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/1.165, allocations: 130.9 kB / 1.228 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/1.165, allocations: 188 kB / 1.228 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/1.168, allocations: 1.97 MB / 1.23 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/1.168, allocations: 3.938 kB / 1.23 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/1.168, allocations: 68 kB / 1.23 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/1.168, allocations: 36 kB / 1.23 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/1.171, allocations: 1.97 MB / 1.232 GB, free: 11.3 MB / 0.9356 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.01445/1.186, allocations: 10.6 MB / 1.242 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/1.189, allocations: 1.783 MB / 1.244 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/1.19, allocations: 1.081 MB / 1.245 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-05/1.19, allocations: 41.08 kB / 1.245 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/1.192, allocations: 1.203 MB / 1.246 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=117): time 2.625e-06/1.192, allocations: 0 / 1.246 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=117): time 0.006512/1.199, allocations: 3.451 MB / 1.249 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002189/1.199, allocations: 346.5 kB / 1.25 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0155/1.214, allocations: 11.58 MB / 1.261 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/1.215, allocations: 65.7 kB / 1.261 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/1.216, allocations: 0.9646 MB / 1.262 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005702/1.217, allocations: 402.4 kB / 1.262 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002576/1.219, allocations: 2.676 MB / 1.265 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.219, allocations: 301.1 kB / 1.265 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01781/1.237, allocations: 20.11 MB / 1.285 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01913/1.256, allocations: 20.7 MB / 1.305 GB, free: 15.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02162/1.278, allocations: 23.58 MB / 1.328 GB, free: 7.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.278, allocations: 0 / 1.328 GB, free: 7.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04264/1.321, allocations: 44.22 MB / 1.371 GB, free: 11.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002156/1.321, allocations: 165.5 kB / 1.372 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.321, allocations: 7.984 kB / 1.372 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/1.321, allocations: 89.09 kB / 1.372 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/1.323, allocations: 411.4 kB / 1.372 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/1.325, allocations: 1.635 MB / 1.374 GB, free: 9.031 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/1.327, allocations: 245.6 kB / 1.374 GB, free: 8.789 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/1.328, allocations: 111.9 kB / 1.374 GB, free: 8.68 MB / 1.076 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.00188/1.33, allocations: 1.544 MB / 1.375 GB, free: 7.125 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/1.33, allocations: 209.3 kB / 1.376 GB, free: 6.918 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004959/1.335, allocations: 2.934 MB / 1.379 GB, free: 3.961 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.335, allocations: 12 kB / 1.379 GB, free: 3.949 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/1.335, allocations: 3.938 kB / 1.379 GB, free: 3.945 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/1.335, allocations: 7.969 kB / 1.379 GB, free: 3.938 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/1.337, allocations: 1.79 MB / 1.38 GB, free: 2.094 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.338, allocations: 0 / 1.38 GB, free: 2.094 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/1.338, allocations: 179.8 kB / 1.38 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/1.339, allocations: 76.78 kB / 1.381 GB, free: 1.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.339, allocations: 40.06 kB / 1.381 GB, free: 1.801 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/1.341, allocations: 1.666 MB / 1.382 GB, free: 15.98 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.341, allocations: 3.938 kB / 1.382 GB, free: 15.98 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/1.345, allocations: 2.776 MB / 1.385 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009436/1.346, allocations: 497.9 kB / 1.385 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/1.347, allocations: 28 kB / 1.385 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009454/1.348, allocations: 81.8 kB / 1.386 GB, free: 12.56 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.348, allocations: 92.88 kB / 1.386 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.348, allocations: 59.97 kB / 1.386 GB, free: 12.41 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.006823/1.355, allocations: 7.261 MB / 1.393 GB, free: 5.137 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.4e-07/1.355, allocations: 0 / 1.393 GB, free: 5.137 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003689/1.359, allocations: 1.381 MB / 1.394 GB, free: 3.754 MB / 1.092 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.002459/1.361, allocations: 0.9603 MB / 1.395 GB, free: 2.965 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02491/1.386, allocations: 26.77 MB / 1.421 GB, free: 8.16 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.386, allocations: 0 / 1.421 GB, free: 8.16 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/1.389, allocations: 1.918 MB / 1.423 GB, free: 6.219 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/1.391, allocations: 452.6 kB / 1.423 GB, free: 5.797 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.406, allocations: 11.12 MB / 1.434 GB, free: 10.63 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/1.409, allocations: 3.009 MB / 1.437 GB, free: 7.594 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001859/1.411, allocations: 0.5224 MB / 1.438 GB, free: 7.066 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/1.411, allocations: 191.4 kB / 1.438 GB, free: 6.879 MB / 1.139 GB Notification: Performance of SimCode: time 9.72e-07/1.411, allocations: 0 / 1.438 GB, free: 6.879 MB / 1.139 GB Notification: Performance of Templates: time 0.1012/1.512, allocations: 47.74 MB / 1.485 GB, free: 7.375 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches