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.004945/0.004945, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.00111/0.00111, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.266/2.266, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.89 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9419/0.9434, 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.008863/0.9523, allocations: 6.999 MB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.236/1.188, allocations: 159.4 MB / 1.25 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/1.191, allocations: 39.81 kB / 1.25 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006398/1.198, allocations: 1.951 MB / 1.252 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004498/1.202, allocations: 1.186 MB / 1.254 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/1.207, allocations: 1.421 MB / 1.255 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006488/1.213, allocations: 5.245 MB / 1.26 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/1.215, allocations: 1.174 MB / 1.261 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/1.218, allocations: 1.66 MB / 1.263 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/1.22, allocations: 1.459 MB / 1.264 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004647/1.221, allocations: 276 kB / 1.264 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/1.226, allocations: 2.36 MB / 1.267 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002402/1.228, allocations: 2.836 MB / 1.27 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/1.23, allocations: 1.364 MB / 1.271 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009625/1.239, allocations: 5.114 MB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.239, allocations: 4 kB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.345e-06/1.239, allocations: 0 / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.835e-05/1.239, allocations: 0 / 1.276 GB, free: 13.21 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.007531/1.247, allocations: 3.35 MB / 1.279 GB, free: 9.789 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.247, allocations: 8.031 kB / 1.279 GB, free: 9.781 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/1.248, allocations: 365.2 kB / 1.279 GB, free: 9.422 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008525/1.257, allocations: 7.449 MB / 1.287 GB, free: 1.898 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/1.257, allocations: 138.9 kB / 1.287 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003195/1.257, allocations: 184 kB / 1.287 GB, free: 1.582 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/1.261, allocations: 1.96 MB / 1.289 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/1.261, allocations: 4 kB / 1.289 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/1.261, allocations: 64 kB / 1.289 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/1.261, allocations: 40 kB / 1.289 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/1.264, allocations: 1.982 MB / 1.291 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/1.278, allocations: 10.1 MB / 1.301 GB, free: 3.227 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/1.281, allocations: 1.776 MB / 1.303 GB, free: 1.441 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/1.282, allocations: 1.084 MB / 1.304 GB, free: 364 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-05/1.282, allocations: 41.09 kB / 1.304 GB, free: 324 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/1.284, allocations: 1.195 MB / 1.305 GB, free: 15.1 MB / 1.045 GB Notification: Performance of pre-optimization done (n=117): time 5.24e-06/1.284, allocations: 3.984 kB / 1.305 GB, free: 15.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=117): time 0.006788/1.291, allocations: 3.451 MB / 1.308 GB, free: 11.61 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000242/1.291, allocations: 346.5 kB / 1.309 GB, free: 11.22 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0145/1.306, allocations: 11.59 MB / 1.32 GB, free: 15.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0005433/1.306, allocations: 65.7 kB / 1.32 GB, free: 15.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/1.307, allocations: 0.9684 MB / 1.321 GB, free: 14.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006645/1.308, allocations: 398.4 kB / 1.321 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003205/1.311, allocations: 2.668 MB / 1.324 GB, free: 11.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/1.311, allocations: 301.1 kB / 1.324 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02/1.331, allocations: 20.11 MB / 1.344 GB, free: 7.051 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02067/1.352, allocations: 20.7 MB / 1.364 GB, free: 2.297 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02692/1.379, allocations: 23.56 MB / 1.387 GB, free: 10.6 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-05/1.379, allocations: 4 kB / 1.387 GB, free: 10.6 MB / 1.123 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05366/1.433, allocations: 44.23 MB / 1.43 GB, free: 14.23 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.000267/1.433, allocations: 165.6 kB / 1.43 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.433, allocations: 4 kB / 1.43 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007/1.434, allocations: 93.02 kB / 1.431 GB, free: 13.97 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.436, allocations: 407.4 kB / 1.431 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/1.438, allocations: 1.638 MB / 1.433 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/1.441, allocations: 237.5 kB / 1.433 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005594/1.441, allocations: 111.9 kB / 1.433 GB, free: 11.44 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.002949/1.444, allocations: 1.548 MB / 1.434 GB, free: 9.875 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007091/1.445, allocations: 209.2 kB / 1.435 GB, free: 9.668 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005706/1.451, allocations: 2.941 MB / 1.437 GB, free: 6.707 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/1.451, allocations: 8 kB / 1.437 GB, free: 6.699 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.451, allocations: 4 kB / 1.437 GB, free: 6.695 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.451, allocations: 3.984 kB / 1.437 GB, free: 6.691 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/1.454, allocations: 1.786 MB / 1.439 GB, free: 4.852 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.454, allocations: 0 / 1.439 GB, free: 4.852 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000795/1.455, allocations: 191.7 kB / 1.439 GB, free: 4.664 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/1.455, allocations: 68.8 kB / 1.439 GB, free: 4.594 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/1.455, allocations: 43.95 kB / 1.439 GB, free: 4.551 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/1.457, allocations: 1.658 MB / 1.441 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.457, allocations: 0 / 1.441 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004733/1.462, allocations: 2.78 MB / 1.444 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.463, allocations: 490.1 kB / 1.444 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/1.464, allocations: 31.91 kB / 1.444 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.465, allocations: 75.98 kB / 1.444 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/1.465, allocations: 92.88 kB / 1.444 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.465, allocations: 67.95 kB / 1.445 GB, free: 15.17 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.007438/1.473, allocations: 7.273 MB / 1.452 GB, free: 7.879 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.81e-07/1.473, allocations: 3.938 kB / 1.452 GB, free: 7.875 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004031/1.477, allocations: 1.358 MB / 1.453 GB, free: 6.516 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.003233/1.48, allocations: 0.9552 MB / 1.454 GB, free: 5.738 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02592/1.506, allocations: 26.77 MB / 1.48 GB, free: 10.93 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.506, allocations: 8 kB / 1.48 GB, free: 10.93 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/1.509, allocations: 1.906 MB / 1.482 GB, free: 8.992 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/1.512, allocations: 431.1 kB / 1.482 GB, free: 8.586 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/1.529, allocations: 11.22 MB / 1.493 GB, free: 13.32 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003789/1.533, allocations: 3.008 MB / 1.496 GB, free: 10.29 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001848/1.535, allocations: 0.5184 MB / 1.497 GB, free: 9.766 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006948/1.535, allocations: 191.4 kB / 1.497 GB, free: 9.578 MB / 1.232 GB Notification: Performance of SimCode: time 8.82e-07/1.535, allocations: 4 kB / 1.497 GB, free: 9.574 MB / 1.232 GB Notification: Performance of Templates: time 0.1046/1.64, allocations: 47.13 MB / 1.543 GB, free: 10.66 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