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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001094/0.001094, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001018/0.001019, allocations: 192 kB / 17.31 MB, free: 5.18 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 64.45 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.26, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008356/0.2683, allocations: 7 MB / 0.958 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6105/0.8788, allocations: 159.4 MB / 1.114 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.8803, allocations: 42.56 kB / 1.114 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005568/0.886, allocations: 1.951 MB / 1.116 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.8891, allocations: 1.182 MB / 1.117 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.8926, allocations: 1.424 MB / 1.118 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005184/0.8978, allocations: 5.239 MB / 1.123 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.8993, allocations: 1.168 MB / 1.124 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.9019, allocations: 1.657 MB / 1.126 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.9039, allocations: 1.456 MB / 1.127 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004387/0.9044, allocations: 276 kB / 1.128 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.9084, allocations: 2.362 MB / 1.13 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002167/0.9106, allocations: 2.841 MB / 1.133 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.9119, allocations: 1.357 MB / 1.134 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006102/0.918, allocations: 5.117 MB / 1.139 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9181, allocations: 1.031 kB / 1.139 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9181, allocations: 0 / 1.139 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6e-05/0.9181, allocations: 0 / 1.139 GB, free: 1.105 MB / 0.8575 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.006317/0.9244, allocations: 3.367 MB / 1.142 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.9245, allocations: 9.031 kB / 1.142 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.9257, allocations: 360.6 kB / 1.143 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009391/0.9352, allocations: 7.443 MB / 1.15 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.877e-05/0.9353, allocations: 140.5 kB / 1.15 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.9355, allocations: 185.1 kB / 1.15 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.9386, allocations: 1.962 MB / 1.152 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.9387, allocations: 4.938 kB / 1.152 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.9388, allocations: 63.73 kB / 1.152 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.9388, allocations: 35.62 kB / 1.152 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.9417, allocations: 1.978 MB / 1.154 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.9549, allocations: 10.13 MB / 1.164 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/0.9578, allocations: 1.789 MB / 1.166 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.959, allocations: 1.075 MB / 1.167 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.225e-05/0.9591, allocations: 42.27 kB / 1.167 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.9607, allocations: 1.205 MB / 1.168 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=117): time 2.735e-06/0.9607, allocations: 4 kB / 1.168 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=117): time 0.006213/0.9669, allocations: 3.452 MB / 1.171 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/0.9671, allocations: 345.7 kB / 1.172 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01327/0.9804, allocations: 11.58 MB / 1.183 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004409/0.9809, allocations: 65.7 kB / 1.183 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/0.9818, allocations: 0.9613 MB / 1.184 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/0.9822, allocations: 404.6 kB / 1.185 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002188/0.9844, allocations: 2.67 MB / 1.187 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.9845, allocations: 305.1 kB / 1.187 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01675/1.001, allocations: 20.12 MB / 1.207 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01917/1.02, allocations: 20.7 MB / 1.227 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02124/1.042, allocations: 23.56 MB / 1.25 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/1.042, allocations: 4 kB / 1.25 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04253/1.084, allocations: 44.24 MB / 1.293 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002521/1.085, allocations: 165.6 kB / 1.294 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.085, allocations: 4 kB / 1.294 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/1.085, allocations: 97.06 kB / 1.294 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/1.087, allocations: 407.4 kB / 1.294 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/1.09, allocations: 1.642 MB / 1.296 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/1.093, allocations: 245.1 kB / 1.296 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/1.093, allocations: 110.8 kB / 1.296 GB, free: 8.332 MB / 0.9981 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.002184/1.095, allocations: 1.537 MB / 1.298 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005904/1.096, allocations: 221.2 kB / 1.298 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00493/1.101, allocations: 2.932 MB / 1.301 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.101, allocations: 16 kB / 1.301 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.101, allocations: 3.938 kB / 1.301 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.101, allocations: 3.984 kB / 1.301 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/1.103, allocations: 1.797 MB / 1.302 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.103, allocations: 0 / 1.302 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/1.104, allocations: 179.8 kB / 1.303 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/1.105, allocations: 80.72 kB / 1.303 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.105, allocations: 39.97 kB / 1.303 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/1.107, allocations: 1.659 MB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.107, allocations: 0 / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004476/1.111, allocations: 2.773 MB / 1.307 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.112, allocations: 497.9 kB / 1.308 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/1.113, allocations: 28 kB / 1.308 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/1.114, allocations: 79.92 kB / 1.308 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/1.114, allocations: 99.44 kB / 1.308 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.114, allocations: 59.97 kB / 1.308 GB, free: 12.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.006544/1.12, allocations: 7.261 MB / 1.315 GB, free: 4.816 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.12, allocations: 0 / 1.315 GB, free: 4.816 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004132/1.125, allocations: 1.363 MB / 1.316 GB, free: 3.457 MB / 1.014 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.127, allocations: 0.9533 MB / 1.317 GB, free: 2.715 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02348/1.151, allocations: 26.78 MB / 1.343 GB, free: 7.941 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.151, allocations: 0 / 1.343 GB, free: 7.941 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002643/1.154, allocations: 1.908 MB / 1.345 GB, free: 6.008 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.156, allocations: 425.6 kB / 1.346 GB, free: 5.609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.171, allocations: 11.23 MB / 1.357 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003008/1.174, allocations: 3.015 MB / 1.359 GB, free: 7.301 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001828/1.176, allocations: 0.5067 MB / 1.36 GB, free: 6.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/1.177, allocations: 195.4 kB / 1.36 GB, free: 6.598 MB / 1.061 GB Notification: Performance of SimCode: time 7.02e-07/1.177, allocations: 0 / 1.36 GB, free: 6.598 MB / 1.061 GB Notification: Performance of Templates: time 0.09938/1.276, allocations: 46.91 MB / 1.406 GB, free: 7.945 MB / 1.107 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 -s gbode -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/jenkins1/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