Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001764/0.001764, allocations: 191 kB / 17.29 MB, free: 5.516 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 14.99 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.189/2.189, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 67.31 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3774, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01548/0.3929, allocations: 7.321 MB / 0.9583 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6467/1.04, allocations: 159.3 MB / 1.114 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/1.042, allocations: 37.09 kB / 1.114 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008197/1.051, allocations: 1.952 MB / 1.116 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003416/1.054, allocations: 1.159 MB / 1.117 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/1.058, allocations: 1.435 MB / 1.118 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005893/1.064, allocations: 5.224 MB / 1.123 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/1.066, allocations: 1.281 MB / 1.125 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/1.069, allocations: 1.691 MB / 1.126 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/1.071, allocations: 1.524 MB / 1.128 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004958/1.071, allocations: 289.4 kB / 1.128 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00569/1.077, allocations: 2.583 MB / 1.131 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003972/1.081, allocations: 4.356 MB / 1.135 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/1.083, allocations: 1.683 MB / 1.136 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009173/1.092, allocations: 6.249 MB / 1.143 GB, free: 80 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.092, allocations: 1.25 kB / 1.143 GB, free: 80 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/1.092, allocations: 0 / 1.143 GB, free: 80 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001123/1.092, allocations: 1.125 kB / 1.143 GB, free: 80 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.01034/1.103, allocations: 4.157 MB / 1.147 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.103, allocations: 8.594 kB / 1.147 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/1.104, allocations: 430.1 kB / 1.147 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/1.118, allocations: 12.33 MB / 1.159 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/1.118, allocations: 175.8 kB / 1.159 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/1.119, allocations: 238.4 kB / 1.16 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/1.122, allocations: 2.38 MB / 1.162 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/1.122, allocations: 0 / 1.162 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.122, allocations: 64.94 kB / 1.162 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/1.123, allocations: 37.97 kB / 1.162 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/1.126, allocations: 2.474 MB / 1.164 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0194/1.145, allocations: 15 MB / 1.179 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/1.149, allocations: 1.977 MB / 1.181 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/1.15, allocations: 1.277 MB / 1.182 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/1.15, allocations: 53.2 kB / 1.182 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/1.152, allocations: 1.356 MB / 1.184 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=138): time 2.945e-06/1.152, allocations: 0 / 1.184 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=138): time 0.007476/1.16, allocations: 3.811 MB / 1.187 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/1.16, allocations: 370.5 kB / 1.188 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03209/1.192, allocations: 20.6 MB / 1.208 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000759/1.193, allocations: 85.7 kB / 1.208 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001488/1.194, allocations: 1.166 MB / 1.209 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005315/1.195, allocations: 471.3 kB / 1.209 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00394/1.199, allocations: 4.919 MB / 1.214 GB, free: 12.58 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.199, allocations: 301.1 kB / 1.214 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03435/1.233, allocations: 38.69 MB / 1.252 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0378/1.271, allocations: 40.08 MB / 1.291 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04363/1.315, allocations: 47.74 MB / 1.338 GB, free: 13.15 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.925e-05/1.315, allocations: 4 kB / 1.338 GB, free: 13.15 MB / 1.045 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09008/1.405, allocations: 90.97 MB / 1.427 GB, free: 1.828 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003036/1.406, allocations: 207.6 kB / 1.427 GB, free: 1.621 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.225e-05/1.406, allocations: 20 kB / 1.427 GB, free: 1.602 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/1.406, allocations: 112.9 kB / 1.427 GB, free: 1.488 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/1.409, allocations: 0.6122 MB / 1.428 GB, free: 0.875 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/1.411, allocations: 1.673 MB / 1.429 GB, free: 15.06 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/1.414, allocations: 368.9 kB / 1.43 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003002/1.415, allocations: 151.1 kB / 1.43 GB, free: 14.56 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (396): * Single equations (assignments): 355 * Array equations: 39 * 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.002996/1.418, allocations: 2.511 MB / 1.432 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/1.418, allocations: 260.6 kB / 1.433 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/1.424, allocations: 3.484 MB / 1.436 GB, free: 8.273 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/1.424, allocations: 12 kB / 1.436 GB, free: 8.262 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.424, allocations: 3.938 kB / 1.436 GB, free: 8.258 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.424, allocations: 7.969 kB / 1.436 GB, free: 8.25 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/1.427, allocations: 2.092 MB / 1.438 GB, free: 6.133 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.427, allocations: 4 kB / 1.438 GB, free: 6.129 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/1.428, allocations: 207.7 kB / 1.438 GB, free: 5.926 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/1.428, allocations: 76.78 kB / 1.438 GB, free: 5.848 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/1.428, allocations: 39.92 kB / 1.438 GB, free: 5.809 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/1.43, allocations: 1.654 MB / 1.44 GB, free: 4.008 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.43, allocations: 0 / 1.44 GB, free: 4.008 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/1.435, allocations: 3.329 MB / 1.443 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.436, allocations: 0.548 MB / 1.444 GB, free: 72 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/1.436, allocations: 43.88 kB / 1.444 GB, free: 28 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/1.437, allocations: 83.91 kB / 1.444 GB, free: 15.95 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/1.438, allocations: 105.1 kB / 1.444 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.438, allocations: 71.95 kB / 1.444 GB, free: 15.77 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01128/1.449, allocations: 12.79 MB / 1.457 GB, free: 2.98 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.01e-07/1.449, allocations: 4 kB / 1.457 GB, free: 2.977 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.006233/1.455, allocations: 1.76 MB / 1.458 GB, free: 1.223 MB / 1.154 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 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * 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.003072/1.458, allocations: 1.003 MB / 1.459 GB, free: 452 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0461/1.505, allocations: 50.93 MB / 1.509 GB, free: 13.51 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.505, allocations: 0 / 1.509 GB, free: 13.51 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003363/1.508, allocations: 2.714 MB / 1.512 GB, free: 10.77 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.51, allocations: 471.3 kB / 1.512 GB, free: 10.33 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/1.536, allocations: 19.2 MB / 1.531 GB, free: 7.09 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005218/1.541, allocations: 4.643 MB / 1.535 GB, free: 2.418 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002131/1.543, allocations: 0.6485 MB / 1.536 GB, free: 1.766 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/1.544, allocations: 223.4 kB / 1.536 GB, free: 1.547 MB / 1.232 GB Notification: Performance of SimCode: time 7.11e-07/1.544, allocations: 0 / 1.536 GB, free: 1.547 MB / 1.232 GB Notification: Performance of Templates: time 0.6397/2.183, allocations: 60.04 MB / 1.595 GB, free: 479.9 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches