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.0014/0.0014, allocations: 112.6 kB / 16.37 MB, free: 6 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.001603/0.001603, allocations: 196 kB / 17.31 MB, free: 5.613 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 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.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 64.59 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3291, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00912/0.3383, allocations: 7.325 MB / 0.9583 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7436/1.082, allocations: 159.3 MB / 1.114 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/1.084, allocations: 38.31 kB / 1.114 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008742/1.093, allocations: 1.953 MB / 1.116 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004895/1.098, allocations: 1.162 MB / 1.117 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006374/1.104, allocations: 1.429 MB / 1.118 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01056/1.115, allocations: 5.228 MB / 1.123 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/1.118, allocations: 1.282 MB / 1.125 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005586/1.124, allocations: 1.69 MB / 1.126 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/1.129, allocations: 1.519 MB / 1.128 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00183/1.131, allocations: 290.4 kB / 1.128 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007516/1.138, allocations: 2.588 MB / 1.131 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005418/1.144, allocations: 4.36 MB / 1.135 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004053/1.148, allocations: 1.685 MB / 1.136 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/1.16, allocations: 6.241 MB / 1.143 GB, free: 88 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/1.16, allocations: 1.156 kB / 1.143 GB, free: 88 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/1.16, allocations: 4 kB / 1.143 GB, free: 84 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002004/1.16, allocations: 0 / 1.143 GB, free: 84 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.01403/1.174, allocations: 4.157 MB / 1.147 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.175, allocations: 12.28 kB / 1.147 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/1.177, allocations: 421.6 kB / 1.147 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01763/1.195, allocations: 12.34 MB / 1.159 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/1.195, allocations: 172.1 kB / 1.159 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007211/1.196, allocations: 232.8 kB / 1.16 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/1.2, allocations: 2.388 MB / 1.162 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/1.2, allocations: 0 / 1.162 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/1.2, allocations: 75.84 kB / 1.162 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/1.2, allocations: 38 kB / 1.162 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/1.204, allocations: 2.464 MB / 1.164 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/1.227, allocations: 15.01 MB / 1.179 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003408/1.23, allocations: 1.98 MB / 1.181 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/1.232, allocations: 1.279 MB / 1.182 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.516e-05/1.232, allocations: 37.41 kB / 1.182 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/1.234, allocations: 1.368 MB / 1.184 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=138): time 3.096e-06/1.234, allocations: 0 / 1.184 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=138): time 0.007255/1.241, allocations: 3.815 MB / 1.187 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002568/1.241, allocations: 362.5 kB / 1.188 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03297/1.274, allocations: 20.59 MB / 1.208 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001067/1.275, allocations: 89.69 kB / 1.208 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/1.277, allocations: 1.166 MB / 1.209 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007186/1.278, allocations: 471.6 kB / 1.209 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004954/1.283, allocations: 4.923 MB / 1.214 GB, free: 12.58 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.283, allocations: 305.1 kB / 1.215 GB, free: 12.28 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0367/1.32, allocations: 38.69 MB / 1.252 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04163/1.362, allocations: 40.09 MB / 1.291 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04604/1.408, allocations: 47.73 MB / 1.338 GB, free: 13.17 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-05/1.408, allocations: 4 kB / 1.338 GB, free: 13.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09672/1.505, allocations: 90.97 MB / 1.427 GB, free: 1.809 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003635/1.505, allocations: 201.6 kB / 1.427 GB, free: 1.605 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.068e-05/1.505, allocations: 20 kB / 1.427 GB, free: 1.586 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006687/1.506, allocations: 108.9 kB / 1.427 GB, free: 1.477 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/1.509, allocations: 0.6161 MB / 1.428 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/1.511, allocations: 1.678 MB / 1.429 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/1.515, allocations: 361.6 kB / 1.43 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006751/1.516, allocations: 154.8 kB / 1.43 GB, free: 14.54 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.003811/1.52, allocations: 2.505 MB / 1.432 GB, free: 12.02 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008202/1.52, allocations: 260.4 kB / 1.433 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006048/1.526, allocations: 3.485 MB / 1.436 GB, free: 8.262 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.527, allocations: 12 kB / 1.436 GB, free: 8.25 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.527, allocations: 4 kB / 1.436 GB, free: 8.246 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/1.527, allocations: 11.91 kB / 1.436 GB, free: 8.234 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/1.531, allocations: 2.081 MB / 1.438 GB, free: 6.129 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.531, allocations: 0 / 1.438 GB, free: 6.129 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/1.532, allocations: 215.6 kB / 1.438 GB, free: 5.918 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/1.532, allocations: 72.78 kB / 1.438 GB, free: 5.844 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.532, allocations: 39.97 kB / 1.438 GB, free: 5.805 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/1.534, allocations: 1.666 MB / 1.44 GB, free: 3.992 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.534, allocations: 0 / 1.44 GB, free: 3.992 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005645/1.54, allocations: 3.329 MB / 1.443 GB, free: 0.625 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.542, allocations: 0.548 MB / 1.444 GB, free: 56 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004922/1.542, allocations: 35.84 kB / 1.444 GB, free: 20 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.543, allocations: 97.92 kB / 1.444 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/1.544, allocations: 99.69 kB / 1.444 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.544, allocations: 67.95 kB / 1.444 GB, free: 15.77 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0122/1.556, allocations: 12.79 MB / 1.457 GB, free: 2.973 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.342e-06/1.556, allocations: 4 kB / 1.457 GB, free: 2.969 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00629/1.562, allocations: 1.757 MB / 1.458 GB, free: 1.215 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.00307/1.565, allocations: 1.012 MB / 1.459 GB, free: 432 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.04824/1.614, allocations: 50.92 MB / 1.509 GB, free: 13.51 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.614, allocations: 4 kB / 1.509 GB, free: 13.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0039/1.618, allocations: 2.719 MB / 1.512 GB, free: 10.76 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.621, allocations: 473.5 kB / 1.512 GB, free: 10.32 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02694/1.648, allocations: 19.19 MB / 1.531 GB, free: 7.078 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005649/1.653, allocations: 4.649 MB / 1.535 GB, free: 2.398 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002348/1.656, allocations: 0.6446 MB / 1.536 GB, free: 1.75 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/1.656, allocations: 215.4 kB / 1.536 GB, free: 1.539 MB / 1.232 GB Notification: Performance of SimCode: time 3.356e-06/1.656, allocations: 4 kB / 1.536 GB, free: 1.535 MB / 1.232 GB Notification: Performance of Templates: time 0.6324/2.289, 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 cvode -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