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.007396/0.007396, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001897/0.001897, allocations: 190.4 kB / 16.67 MB, free: 6.379 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.341/2.341, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 70.86 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3345, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01006/0.3446, allocations: 6.978 MB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.5402, allocations: 159.4 MB / 1.25 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.5426, allocations: 35.81 kB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006334/0.549, allocations: 1.953 MB / 1.252 GB, free: 8.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.5534, allocations: 1.171 MB / 1.253 GB, free: 7.258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004241/0.5577, allocations: 1.434 MB / 1.255 GB, free: 5.832 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006192/0.5639, allocations: 5.237 MB / 1.26 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7859/1.35, allocations: 1.17 MB / 1.261 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004015/1.354, allocations: 1.667 MB / 1.263 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003906/1.358, allocations: 1.465 MB / 1.264 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009366/1.359, allocations: 276.6 kB / 1.264 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00643/1.365, allocations: 2.356 MB / 1.267 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004597/1.37, allocations: 2.836 MB / 1.27 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00286/1.373, allocations: 1.359 MB / 1.271 GB, free: 5.383 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01205/1.385, allocations: 5.107 MB / 1.276 GB, free: 4.832 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/1.385, allocations: 2.859 kB / 1.276 GB, free: 4.832 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.534e-06/1.385, allocations: 0 / 1.276 GB, free: 4.832 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001326/1.385, allocations: 1.438 kB / 1.276 GB, free: 4.832 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.008765/1.394, allocations: 3.358 MB / 1.279 GB, free: 3.238 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.394, allocations: 10.78 kB / 1.279 GB, free: 3.238 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/1.395, allocations: 363.8 kB / 1.279 GB, free: 3.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009987/1.405, allocations: 7.449 MB / 1.287 GB, free: 2.512 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/1.406, allocations: 142.3 kB / 1.287 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/1.406, allocations: 185.4 kB / 1.287 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/1.409, allocations: 1.965 MB / 1.289 GB, free: 2.266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/1.409, allocations: 4.969 kB / 1.289 GB, free: 2.266 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/1.41, allocations: 62.67 kB / 1.289 GB, free: 2.266 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/1.41, allocations: 36.59 kB / 1.289 GB, free: 2.266 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003334/1.413, allocations: 1.981 MB / 1.291 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/1.427, allocations: 10.11 MB / 1.301 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/1.43, allocations: 1.785 MB / 1.303 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/1.431, allocations: 1.085 MB / 1.304 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.625e-05/1.431, allocations: 36.3 kB / 1.304 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/1.433, allocations: 1.2 MB / 1.305 GB, free: 0.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=117): time 2.625e-06/1.433, allocations: 0 / 1.305 GB, free: 0.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=117): time 0.006808/1.439, allocations: 3.457 MB / 1.308 GB, free: 184 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/1.44, allocations: 345.9 kB / 1.309 GB, free: 15.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01477/1.454, allocations: 11.58 MB / 1.32 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0009291/1.455, allocations: 65.17 kB / 1.32 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/1.457, allocations: 0.9619 MB / 1.321 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/1.457, allocations: 400.4 kB / 1.321 GB, free: 15.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002268/1.459, allocations: 2.677 MB / 1.324 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.46, allocations: 304.1 kB / 1.324 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01705/1.477, allocations: 20.11 MB / 1.344 GB, free: 5.512 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04018/1.517, allocations: 22.61 MB / 1.366 GB, free: 5.961 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0244/1.541, allocations: 23.56 MB / 1.389 GB, free: 14.35 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-05/1.541, allocations: 0 / 1.389 GB, free: 14.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04949/1.591, allocations: 44.23 MB / 1.432 GB, free: 2.145 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003419/1.591, allocations: 165.6 kB / 1.432 GB, free: 1.977 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/1.591, allocations: 0 / 1.432 GB, free: 1.977 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/1.592, allocations: 97.05 kB / 1.432 GB, free: 1.883 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/1.594, allocations: 408.9 kB / 1.433 GB, free: 1.508 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/1.597, allocations: 1.641 MB / 1.434 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/1.6, allocations: 245.2 kB / 1.435 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005582/1.601, allocations: 110.1 kB / 1.435 GB, free: 15.41 MB / 1.123 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.002938/1.604, allocations: 1.54 MB / 1.436 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007685/1.604, allocations: 210.1 kB / 1.436 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/1.61, allocations: 2.942 MB / 1.439 GB, free: 10.72 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.61, allocations: 12 kB / 1.439 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.61, allocations: 0 / 1.439 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/1.61, allocations: 5.047 kB / 1.439 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/1.613, allocations: 1.797 MB / 1.441 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.613, allocations: 0 / 1.441 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007933/1.614, allocations: 183.6 kB / 1.441 GB, free: 8.719 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/1.614, allocations: 75.34 kB / 1.441 GB, free: 8.645 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/1.614, allocations: 40.88 kB / 1.441 GB, free: 8.605 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/1.616, allocations: 1.652 MB / 1.443 GB, free: 6.824 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.616, allocations: 11.08 kB / 1.443 GB, free: 6.816 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/1.621, allocations: 2.765 MB / 1.446 GB, free: 4.031 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009511/1.622, allocations: 0.4901 MB / 1.446 GB, free: 3.52 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/1.622, allocations: 28 kB / 1.446 GB, free: 3.492 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009657/1.623, allocations: 75.8 kB / 1.446 GB, free: 3.422 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/1.624, allocations: 101.7 kB / 1.446 GB, free: 3.32 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.624, allocations: 56.11 kB / 1.446 GB, free: 3.266 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.007302/1.631, allocations: 7.27 MB / 1.454 GB, free: 11.98 MB / 1.139 GB Notification: Performance of sort global known variables: time 5.21e-07/1.631, allocations: 0 / 1.454 GB, free: 11.98 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.005408/1.637, allocations: 1.362 MB / 1.455 GB, free: 10.62 MB / 1.139 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.003331/1.64, allocations: 0.9579 MB / 1.456 GB, free: 9.926 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02715/1.667, allocations: 26.78 MB / 1.482 GB, free: 15.17 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.667, allocations: 0 / 1.482 GB, free: 15.17 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0032/1.67, allocations: 1.898 MB / 1.484 GB, free: 13.27 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/1.674, allocations: 428.6 kB / 1.484 GB, free: 12.87 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/1.693, allocations: 11.22 MB / 1.495 GB, free: 1.66 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003994/1.697, allocations: 3.012 MB / 1.498 GB, free: 14.64 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002188/1.699, allocations: 0.5139 MB / 1.499 GB, free: 14.17 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/1.7, allocations: 193.5 kB / 1.499 GB, free: 13.98 MB / 1.186 GB Notification: Performance of SimCode: time 7.52e-07/1.7, allocations: 0 / 1.499 GB, free: 13.98 MB / 1.186 GB Notification: Performance of Templates: time 0.1083/1.808, allocations: 47.84 MB / 1.546 GB, free: 14.51 MB / 1.232 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