Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.005201/0.005201, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.00103/0.00103, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.579/2.579, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 55.91 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3568, allocations: 151.6 MB / 1.167 GB, free: 6.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01005/0.3669, allocations: 8.231 MB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 1.038/1.405, allocations: 159.5 MB / 1.33 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/1.408, allocations: 38.88 kB / 1.33 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006765/1.414, allocations: 2.005 MB / 1.332 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004642/1.419, allocations: 1.289 MB / 1.334 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004213/1.423, allocations: 1.447 MB / 1.335 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007266/1.431, allocations: 5.45 MB / 1.34 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/1.433, allocations: 1.116 MB / 1.342 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/1.436, allocations: 1.704 MB / 1.343 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/1.44, allocations: 1.484 MB / 1.345 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/1.441, allocations: 276.6 kB / 1.345 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006393/1.447, allocations: 2.375 MB / 1.347 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003719/1.451, allocations: 2.836 MB / 1.35 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004038/1.455, allocations: 1.401 MB / 1.351 GB, free: 9.898 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01163/1.467, allocations: 5.205 MB / 1.356 GB, free: 7.082 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.467, allocations: 0 / 1.356 GB, free: 7.082 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.205e-06/1.467, allocations: 0 / 1.356 GB, free: 7.082 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001012/1.467, allocations: 0 / 1.356 GB, free: 7.082 MB / 1.029 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.00814/1.475, allocations: 3.493 MB / 1.36 GB, free: 4.516 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.475, allocations: 9.625 kB / 1.36 GB, free: 4.516 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/1.477, allocations: 379 kB / 1.36 GB, free: 4.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00902/1.486, allocations: 7.462 MB / 1.368 GB, free: 1.066 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/1.486, allocations: 137.9 kB / 1.368 GB, free: 1.004 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002655/1.486, allocations: 185.5 kB / 1.368 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/1.489, allocations: 1.968 MB / 1.37 GB, free: 15.8 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/1.489, allocations: 2.625 kB / 1.37 GB, free: 15.8 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/1.489, allocations: 59.53 kB / 1.37 GB, free: 15.76 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/1.489, allocations: 35.09 kB / 1.37 GB, free: 15.76 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/1.492, allocations: 1.985 MB / 1.372 GB, free: 14.87 MB / 1.045 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.01402/1.506, allocations: 10.61 MB / 1.382 GB, free: 7.508 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/1.509, allocations: 1.79 MB / 1.384 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.511, allocations: 1.087 MB / 1.385 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/1.511, allocations: 36.94 kB / 1.385 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/1.513, allocations: 1.195 MB / 1.386 GB, free: 3.379 MB / 1.045 GB Notification: Performance of pre-optimization done (n=117): time 2.685e-06/1.513, allocations: 0 / 1.386 GB, free: 3.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=117): time 0.006669/1.519, allocations: 3.464 MB / 1.39 GB, free: 15.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002318/1.52, allocations: 342.5 kB / 1.39 GB, free: 15.49 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/1.534, allocations: 11.59 MB / 1.401 GB, free: 3.871 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0005813/1.535, allocations: 65.7 kB / 1.401 GB, free: 3.801 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/1.536, allocations: 0.9858 MB / 1.402 GB, free: 2.805 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005909/1.537, allocations: 424.5 kB / 1.403 GB, free: 2.387 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002474/1.539, allocations: 2.72 MB / 1.405 GB, free: 15.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/1.539, allocations: 301.1 kB / 1.406 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01829/1.557, allocations: 20.11 MB / 1.425 GB, free: 11.24 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01926/1.577, allocations: 20.69 MB / 1.445 GB, free: 6.496 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02214/1.599, allocations: 23.57 MB / 1.468 GB, free: 14.79 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-05/1.599, allocations: 0 / 1.468 GB, free: 14.79 MB / 1.139 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04738/1.646, allocations: 44.25 MB / 1.512 GB, free: 2.398 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002562/1.647, allocations: 165.6 kB / 1.512 GB, free: 2.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/1.647, allocations: 4 kB / 1.512 GB, free: 2.227 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/1.647, allocations: 92.77 kB / 1.512 GB, free: 2.133 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.649, allocations: 415.3 kB / 1.512 GB, free: 1.727 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/1.652, allocations: 1.642 MB / 1.514 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/1.654, allocations: 238.2 kB / 1.514 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/1.654, allocations: 115.9 kB / 1.514 GB, free: 15.59 MB / 1.186 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.002073/1.656, allocations: 1.544 MB / 1.516 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/1.657, allocations: 222.5 kB / 1.516 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005103/1.662, allocations: 2.945 MB / 1.519 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/1.662, allocations: 12 kB / 1.519 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.662, allocations: 0 / 1.519 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.662, allocations: 11.97 kB / 1.519 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/1.665, allocations: 1.793 MB / 1.521 GB, free: 8.984 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.665, allocations: 0 / 1.521 GB, free: 8.984 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/1.665, allocations: 191.7 kB / 1.521 GB, free: 8.797 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/1.666, allocations: 68.78 kB / 1.521 GB, free: 8.727 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/1.666, allocations: 39.97 kB / 1.521 GB, free: 8.688 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/1.668, allocations: 1.658 MB / 1.522 GB, free: 6.879 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.668, allocations: 0 / 1.522 GB, free: 6.879 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/1.674, allocations: 2.79 MB / 1.525 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.675, allocations: 0.4915 MB / 1.526 GB, free: 3.547 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/1.675, allocations: 43.92 kB / 1.526 GB, free: 3.504 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009237/1.676, allocations: 67.92 kB / 1.526 GB, free: 3.438 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/1.676, allocations: 92.88 kB / 1.526 GB, free: 3.348 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.677, allocations: 59.97 kB / 1.526 GB, free: 3.289 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.006991/1.684, allocations: 7.269 MB / 1.533 GB, free: 12 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.61e-07/1.684, allocations: 8 kB / 1.533 GB, free: 12 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00444/1.688, allocations: 1.396 MB / 1.534 GB, free: 10.6 MB / 1.201 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.002723/1.691, allocations: 0.9674 MB / 1.535 GB, free: 9.809 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02519/1.716, allocations: 26.78 MB / 1.561 GB, free: 15 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.716, allocations: 4.734 kB / 1.562 GB, free: 15 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/1.719, allocations: 1.898 MB / 1.563 GB, free: 13.07 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/1.721, allocations: 453.2 kB / 1.564 GB, free: 12.64 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/1.738, allocations: 11.29 MB / 1.575 GB, free: 1.297 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003272/1.741, allocations: 3.01 MB / 1.578 GB, free: 14.25 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001946/1.743, allocations: 0.5146 MB / 1.578 GB, free: 13.73 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/1.744, allocations: 195.4 kB / 1.578 GB, free: 13.54 MB / 1.248 GB Notification: Performance of SimCode: time 1.262e-06/1.744, allocations: 0 / 1.578 GB, free: 13.54 MB / 1.248 GB Notification: Performance of Templates: time 0.1018/1.846, allocations: 48.06 MB / 1.625 GB, free: 13.72 MB / 1.295 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches