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.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.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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.373/2.373, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7693, allocations: 140.4 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008481/0.7778, allocations: 7.298 MB / 0.9567 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2086/0.9865, allocations: 159.3 MB / 1.112 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.9884, allocations: 39.81 kB / 1.112 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005353/0.9938, allocations: 1.957 MB / 1.114 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.9974, allocations: 1.158 MB / 1.115 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003796/1.001, allocations: 1.419 MB / 1.117 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00601/1.007, allocations: 5.217 MB / 1.122 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/1.01, allocations: 1.281 MB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/1.012, allocations: 1.683 MB / 1.125 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/1.015, allocations: 1.53 MB / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001173/1.016, allocations: 292 kB / 1.127 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006635/1.023, allocations: 2.54 MB / 1.129 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004812/1.028, allocations: 4.354 MB / 1.133 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003594/1.031, allocations: 1.683 MB / 1.135 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/1.043, allocations: 6.151 MB / 1.141 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.043, allocations: 0 / 1.141 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.254e-06/1.043, allocations: 0 / 1.141 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002112/1.043, allocations: 0 / 1.141 GB, free: 13.19 MB / 0.9044 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.01074/1.054, allocations: 4.161 MB / 1.145 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.054, allocations: 12.03 kB / 1.145 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.055, allocations: 420.4 kB / 1.145 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/1.069, allocations: 12.31 MB / 1.157 GB, free: 12.15 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/1.07, allocations: 171.1 kB / 1.158 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/1.07, allocations: 240 kB / 1.158 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003914/1.074, allocations: 2.369 MB / 1.16 GB, free: 9.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/1.074, allocations: 0 / 1.16 GB, free: 9.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/1.074, allocations: 72 kB / 1.16 GB, free: 9.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/1.074, allocations: 40 kB / 1.16 GB, free: 9.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003963/1.078, allocations: 2.467 MB / 1.163 GB, free: 6.738 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02163/1.1, allocations: 15.06 MB / 1.177 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/1.103, allocations: 1.986 MB / 1.179 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/1.105, allocations: 1.277 MB / 1.181 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/1.105, allocations: 45.03 kB / 1.181 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/1.107, allocations: 1.358 MB / 1.182 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=138): time 2.796e-06/1.107, allocations: 4 kB / 1.182 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138): time 0.006969/1.114, allocations: 3.815 MB / 1.186 GB, free: 15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/1.114, allocations: 362.5 kB / 1.186 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02967/1.144, allocations: 20.6 MB / 1.206 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0007298/1.145, allocations: 85.7 kB / 1.206 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/1.146, allocations: 1.17 MB / 1.207 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007215/1.147, allocations: 469.4 kB / 1.208 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004882/1.152, allocations: 4.927 MB / 1.213 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.152, allocations: 301.1 kB / 1.213 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.585/1.737, allocations: 38.67 MB / 1.251 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03249/1.77, allocations: 40.08 MB / 1.29 GB, free: 257.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03062/1.8, allocations: 47.73 MB / 1.336 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.705e-05/1.8, allocations: 7.984 kB / 1.336 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06503/1.865, allocations: 90.95 MB / 1.425 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/1.866, allocations: 205.4 kB / 1.425 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.142e-05/1.866, allocations: 23.94 kB / 1.425 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/1.866, allocations: 108.9 kB / 1.426 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/1.869, allocations: 0.6162 MB / 1.426 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/1.871, allocations: 1.668 MB / 1.428 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/1.873, allocations: 364.2 kB / 1.428 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/1.874, allocations: 156.6 kB / 1.428 GB, free: 115.4 MB / 0.9981 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.002299/1.876, allocations: 2.511 MB / 1.431 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005318/1.877, allocations: 260.4 kB / 1.431 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00462/1.881, allocations: 3.487 MB / 1.434 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.881, allocations: 12 kB / 1.434 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.881, allocations: 3.938 kB / 1.434 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/1.881, allocations: 7.969 kB / 1.434 GB, free: 109.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/1.884, allocations: 2.079 MB / 1.436 GB, free: 107.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.884, allocations: 4 kB / 1.436 GB, free: 107 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/1.885, allocations: 211.7 kB / 1.437 GB, free: 106.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/1.885, allocations: 71.69 kB / 1.437 GB, free: 106.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.885, allocations: 47.97 kB / 1.437 GB, free: 106.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/1.887, allocations: 1.653 MB / 1.438 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.887, allocations: 4.062 kB / 1.438 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/1.891, allocations: 3.337 MB / 1.442 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008414/1.892, allocations: 0.5441 MB / 1.442 GB, free: 101 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/1.893, allocations: 39.94 kB / 1.442 GB, free: 100.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000993/1.894, allocations: 91.89 kB / 1.442 GB, free: 100.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/1.894, allocations: 97.19 kB / 1.442 GB, free: 100.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.894, allocations: 71.89 kB / 1.442 GB, free: 100.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007903/1.902, allocations: 12.8 MB / 1.455 GB, free: 87.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.71e-07/1.902, allocations: 0 / 1.455 GB, free: 87.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004638/1.906, allocations: 1.755 MB / 1.457 GB, free: 86.21 MB / 0.9981 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.00239/1.909, allocations: 1.014 MB / 1.458 GB, free: 85.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03177/1.941, allocations: 51.76 MB / 1.508 GB, free: 33.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.941, allocations: 4 kB / 1.508 GB, free: 33.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002631/1.943, allocations: 2.72 MB / 1.511 GB, free: 30.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/1.946, allocations: 471.2 kB / 1.511 GB, free: 30.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/1.967, allocations: 19.38 MB / 1.53 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/1.971, allocations: 4.641 MB / 1.535 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002196/1.974, allocations: 0.6524 MB / 1.535 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005662/1.974, allocations: 219.4 kB / 1.536 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.974, allocations: 0 / 1.536 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.1778/2.152, allocations: 59.97 MB / 1.594 GB, free: 9.879 MB / 1.061 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 -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/jenkins/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