Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01021/0.01021, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.002001/0.002001, allocations: 184.7 kB / 16.67 MB, free: 5.926 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.37/2.37, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.92 kB / 0.9509 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3079, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007152/0.3151, allocations: 5.764 MB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.4984, allocations: 155.5 MB / 1.245 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.4999, allocations: 31.88 kB / 1.245 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00667/0.5067, allocations: 1.786 MB / 1.247 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.5101, allocations: 0.7962 MB / 1.248 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.5129, allocations: 1.019 MB / 1.249 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003731/0.5166, allocations: 3.467 MB / 1.252 GB, free: 8.504 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.5179, allocations: 0.9556 MB / 1.253 GB, free: 7.508 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.5196, allocations: 1.177 MB / 1.254 GB, free: 6.328 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.521, allocations: 1.035 MB / 1.255 GB, free: 5.289 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002891/0.5213, allocations: 200 kB / 1.256 GB, free: 5.094 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003756/0.5251, allocations: 2.247 MB / 1.258 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.5263, allocations: 1.357 MB / 1.259 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009792/0.5273, allocations: 0.9909 MB / 1.26 GB, free: 500 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.7794/1.307, allocations: 3.948 MB / 1.264 GB, free: 10.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.307, allocations: 0 / 1.264 GB, free: 10.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.485e-06/1.307, allocations: 0.5312 kB / 1.264 GB, free: 10.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.329e-05/1.307, allocations: 0 / 1.264 GB, free: 10.23 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.008619/1.315, allocations: 2.656 MB / 1.267 GB, free: 8.902 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.316, allocations: 9.828 kB / 1.267 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/1.317, allocations: 274.7 kB / 1.267 GB, free: 8.781 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006158/1.323, allocations: 3.023 MB / 1.27 GB, free: 8.348 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/1.323, allocations: 117.2 kB / 1.27 GB, free: 8.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/1.324, allocations: 151.5 kB / 1.27 GB, free: 8.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/1.327, allocations: 1.545 MB / 1.272 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.328, allocations: 0 / 1.272 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.328, allocations: 56.69 kB / 1.272 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/1.328, allocations: 28.81 kB / 1.272 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/1.331, allocations: 1.609 MB / 1.273 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/1.342, allocations: 5.342 MB / 1.278 GB, free: 7.348 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/1.344, allocations: 1.439 MB / 1.28 GB, free: 7.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/1.346, allocations: 0.8891 MB / 1.281 GB, free: 7.305 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.961e-05/1.346, allocations: 37.27 kB / 1.281 GB, free: 7.301 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/1.348, allocations: 0.9561 MB / 1.282 GB, free: 7.242 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 4.157e-06/1.348, allocations: 0 / 1.282 GB, free: 7.242 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.005627/1.353, allocations: 2.679 MB / 1.284 GB, free: 7.059 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002558/1.353, allocations: 330.5 kB / 1.285 GB, free: 6.809 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007288/1.361, allocations: 4.382 MB / 1.289 GB, free: 6.609 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006961/1.361, allocations: 61.61 kB / 1.289 GB, free: 6.578 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007605/1.362, allocations: 0.7033 MB / 1.29 GB, free: 6.312 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000464/1.363, allocations: 366.8 kB / 1.29 GB, free: 6.082 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/1.364, allocations: 1.086 MB / 1.291 GB, free: 5.887 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/1.364, allocations: 303.7 kB / 1.291 GB, free: 5.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008067/1.372, allocations: 7.043 MB / 1.298 GB, free: 5.586 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00756/1.38, allocations: 7.306 MB / 1.305 GB, free: 5.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009713/1.39, allocations: 8.994 MB / 1.314 GB, free: 4.945 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/1.39, allocations: 3.188 kB / 1.314 GB, free: 4.945 MB / 1.014 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01707/1.407, allocations: 15.87 MB / 1.33 GB, free: 464 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/1.407, allocations: 150.2 kB / 1.33 GB, free: 412 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.407, allocations: 0.875 kB / 1.33 GB, free: 412 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.407, allocations: 11.48 kB / 1.33 GB, free: 412 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/1.409, allocations: 322.8 kB / 1.33 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/1.409, allocations: 7.469 kB / 1.33 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.41, allocations: 202.3 kB / 1.33 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/1.41, allocations: 74.75 kB / 1.33 GB, free: 264 kB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001395/1.412, allocations: 0.8423 MB / 1.331 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/1.412, allocations: 164.5 kB / 1.331 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/1.416, allocations: 2.377 MB / 1.334 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/1.416, allocations: 10.33 kB / 1.334 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.416, allocations: 0 / 1.334 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.416, allocations: 9.734 kB / 1.334 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/1.419, allocations: 1.356 MB / 1.335 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.419, allocations: 5.859 kB / 1.335 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/1.419, allocations: 158.8 kB / 1.335 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/1.419, allocations: 6.953 kB / 1.335 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/1.419, allocations: 37.62 kB / 1.335 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/1.419, allocations: 4.812 kB / 1.335 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.419, allocations: 0 / 1.335 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/1.423, allocations: 2.252 MB / 1.337 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007663/1.424, allocations: 413.8 kB / 1.338 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.424, allocations: 29.73 kB / 1.338 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008241/1.425, allocations: 73.5 kB / 1.338 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.425, allocations: 84.31 kB / 1.338 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.425, allocations: 52.44 kB / 1.338 GB, free: 11.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002792/1.428, allocations: 2.801 MB / 1.341 GB, free: 9.062 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.8e-07/1.428, allocations: 0 / 1.341 GB, free: 9.062 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004222/1.432, allocations: 1.064 MB / 1.342 GB, free: 8.027 MB / 1.029 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003296/1.435, allocations: 0.9652 MB / 1.343 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02058/1.456, allocations: 11.59 MB / 1.354 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.456, allocations: 0.75 kB / 1.354 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.458, allocations: 1.527 MB / 1.356 GB, free: 14.16 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/1.46, allocations: 337.9 kB / 1.356 GB, free: 13.9 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00867/1.469, allocations: 5.653 MB / 1.361 GB, free: 8.668 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/1.47, allocations: 1.781 MB / 1.363 GB, free: 7.211 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001572/1.472, allocations: 383.1 kB / 1.363 GB, free: 6.945 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/1.472, allocations: 150.2 kB / 1.364 GB, free: 6.82 MB / 1.045 GB Notification: Performance of SimCode: time 1.763e-06/1.472, allocations: 0 / 1.364 GB, free: 6.82 MB / 1.045 GB Notification: Performance of Templates: time 0.06395/1.536, allocations: 31.85 MB / 1.395 GB, free: 10.46 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches