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.004993/0.004993, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001147/0.001147, allocations: 194.2 kB / 16.68 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.191/2.191, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9717/0.9731, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008366/0.9816, allocations: 6.987 MB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2145/1.196, allocations: 159.4 MB / 1.25 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/1.199, allocations: 43.75 kB / 1.25 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006478/1.205, allocations: 1.964 MB / 1.252 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00554/1.211, allocations: 1.194 MB / 1.254 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00453/1.216, allocations: 1.432 MB / 1.255 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006695/1.222, allocations: 5.248 MB / 1.26 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/1.224, allocations: 1.17 MB / 1.261 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/1.228, allocations: 1.671 MB / 1.263 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/1.232, allocations: 1.459 MB / 1.264 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001015/1.233, allocations: 276 kB / 1.265 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/1.238, allocations: 2.356 MB / 1.267 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00303/1.241, allocations: 2.84 MB / 1.27 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002216/1.243, allocations: 1.36 MB / 1.271 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009993/1.253, allocations: 5.135 MB / 1.276 GB, free: 13.08 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/1.253, allocations: 0 / 1.276 GB, free: 13.08 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/1.253, allocations: 0 / 1.276 GB, free: 13.08 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001009/1.253, allocations: 0 / 1.276 GB, free: 13.08 MB / 1.014 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.006987/1.26, allocations: 3.454 MB / 1.279 GB, free: 9.551 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.26, allocations: 20.02 kB / 1.279 GB, free: 9.531 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/1.262, allocations: 370.9 kB / 1.28 GB, free: 9.168 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009679/1.271, allocations: 7.466 MB / 1.287 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/1.272, allocations: 138.9 kB / 1.287 GB, free: 1.492 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/1.272, allocations: 188 kB / 1.287 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/1.276, allocations: 1.96 MB / 1.289 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/1.276, allocations: 7.938 kB / 1.289 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/1.276, allocations: 60 kB / 1.289 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/1.276, allocations: 39.98 kB / 1.289 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/1.28, allocations: 1.986 MB / 1.291 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/1.297, allocations: 10.12 MB / 1.301 GB, free: 2.934 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/1.3, allocations: 1.783 MB / 1.303 GB, free: 1.141 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/1.302, allocations: 1.084 MB / 1.304 GB, free: 56 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.645e-05/1.302, allocations: 41.09 kB / 1.304 GB, free: 16 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001971/1.304, allocations: 1.192 MB / 1.305 GB, free: 14.8 MB / 1.045 GB Notification: Performance of pre-optimization done (n=117): time 3.116e-06/1.304, allocations: 0 / 1.305 GB, free: 14.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=117): time 0.007127/1.311, allocations: 3.472 MB / 1.309 GB, free: 11.3 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002413/1.311, allocations: 346.5 kB / 1.309 GB, free: 10.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01614/1.328, allocations: 11.58 MB / 1.32 GB, free: 15.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004956/1.328, allocations: 65.7 kB / 1.32 GB, free: 15.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.329, allocations: 0.978 MB / 1.321 GB, free: 14.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/1.33, allocations: 416.6 kB / 1.322 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002846/1.333, allocations: 2.728 MB / 1.324 GB, free: 11.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.333, allocations: 301.1 kB / 1.325 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02304/1.356, allocations: 20.11 MB / 1.344 GB, free: 6.668 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02376/1.38, allocations: 20.7 MB / 1.364 GB, free: 1.914 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02491/1.405, allocations: 23.57 MB / 1.387 GB, free: 10.22 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/1.405, allocations: 0 / 1.387 GB, free: 10.22 MB / 1.123 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04682/1.451, allocations: 44.25 MB / 1.431 GB, free: 13.83 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002388/1.452, allocations: 169.6 kB / 1.431 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/1.452, allocations: 4 kB / 1.431 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/1.452, allocations: 93.08 kB / 1.431 GB, free: 13.56 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.454, allocations: 403.4 kB / 1.431 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.457, allocations: 1.646 MB / 1.433 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/1.459, allocations: 246.1 kB / 1.433 GB, free: 11.14 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/1.459, allocations: 107.9 kB / 1.433 GB, free: 11.03 MB / 1.17 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.00194/1.461, allocations: 1.544 MB / 1.435 GB, free: 9.469 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004579/1.461, allocations: 222.4 kB / 1.435 GB, free: 9.25 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/1.466, allocations: 2.945 MB / 1.438 GB, free: 6.285 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.466, allocations: 12 kB / 1.438 GB, free: 6.273 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.466, allocations: 7.938 kB / 1.438 GB, free: 6.266 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.467, allocations: 11.91 kB / 1.438 GB, free: 6.254 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/1.469, allocations: 1.782 MB / 1.44 GB, free: 4.418 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.469, allocations: 4 kB / 1.44 GB, free: 4.414 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000772/1.47, allocations: 179.8 kB / 1.44 GB, free: 4.238 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/1.47, allocations: 72.78 kB / 1.44 GB, free: 4.164 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-05/1.47, allocations: 35.97 kB / 1.44 GB, free: 4.129 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/1.472, allocations: 1.67 MB / 1.441 GB, free: 2.312 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.472, allocations: 3.984 kB / 1.441 GB, free: 2.309 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/1.477, allocations: 2.786 MB / 1.444 GB, free: 15.49 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008662/1.478, allocations: 0.4914 MB / 1.445 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/1.478, allocations: 31.95 kB / 1.445 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009456/1.479, allocations: 71.92 kB / 1.445 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/1.479, allocations: 100.9 kB / 1.445 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.479, allocations: 59.95 kB / 1.445 GB, free: 14.72 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.006435/1.486, allocations: 7.269 MB / 1.452 GB, free: 7.434 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.91e-07/1.486, allocations: 0 / 1.452 GB, free: 7.434 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003221/1.489, allocations: 1.369 MB / 1.453 GB, free: 6.062 MB / 1.186 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.002365/1.491, allocations: 0.9721 MB / 1.454 GB, free: 5.266 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02616/1.517, allocations: 26.77 MB / 1.48 GB, free: 10.46 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.518, allocations: 0 / 1.48 GB, free: 10.46 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002946/1.52, allocations: 1.902 MB / 1.482 GB, free: 8.527 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.523, allocations: 435.2 kB / 1.483 GB, free: 8.121 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/1.539, allocations: 11.38 MB / 1.494 GB, free: 12.69 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003201/1.542, allocations: 3.008 MB / 1.497 GB, free: 9.652 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001732/1.544, allocations: 0.5145 MB / 1.497 GB, free: 9.133 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/1.544, allocations: 191.4 kB / 1.497 GB, free: 8.945 MB / 1.232 GB Notification: Performance of SimCode: time 8.32e-07/1.544, allocations: 0 / 1.497 GB, free: 8.945 MB / 1.232 GB Notification: Performance of Templates: time 0.1005/1.645, allocations: 47.16 MB / 1.544 GB, free: 10 MB / 1.279 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