Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001167/0.001167, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.7099 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 67.89 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7411, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01059/0.7517, allocations: 8.501 MB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.9266, allocations: 157.4 MB / 1.179 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.9289, allocations: 27.81 kB / 1.179 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006033/0.935, allocations: 1.822 MB / 1.18 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.9394, allocations: 1.128 MB / 1.182 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.9434, allocations: 1.261 MB / 1.183 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006586/0.95, allocations: 5.398 MB / 1.188 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.9525, allocations: 1.191 MB / 1.189 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.9557, allocations: 1.463 MB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0031/0.9588, allocations: 1.514 MB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.9599, allocations: 136 kB / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005149/0.965, allocations: 2.282 MB / 1.195 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003995/0.9691, allocations: 4.213 MB / 1.199 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003237/0.9723, allocations: 1.546 MB / 1.2 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009026/0.9813, allocations: 6.065 MB / 1.206 GB, free: 128 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9814, allocations: 7.938 kB / 1.206 GB, free: 120 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9814, allocations: 0 / 1.206 GB, free: 120 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.328e-05/0.9815, allocations: 0 / 1.206 GB, free: 120 kB / 0.9512 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.008071/0.9896, allocations: 4.18 MB / 1.21 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.9896, allocations: 19.98 kB / 1.21 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.991, allocations: 432.3 kB / 1.211 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.004, allocations: 12.3 MB / 1.223 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/1.004, allocations: 179.1 kB / 1.223 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004439/1.005, allocations: 232 kB / 1.223 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/1.009, allocations: 2.377 MB / 1.225 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/1.009, allocations: 0 / 1.225 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/1.009, allocations: 68 kB / 1.225 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/1.009, allocations: 36 kB / 1.225 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/1.013, allocations: 2.467 MB / 1.228 GB, free: 9.637 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/1.035, allocations: 15.53 MB / 1.243 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/1.038, allocations: 1.987 MB / 1.245 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/1.04, allocations: 1.285 MB / 1.246 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/1.04, allocations: 37.09 kB / 1.246 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/1.042, allocations: 1.362 MB / 1.248 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 3.957e-06/1.042, allocations: 4 kB / 1.248 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.006877/1.049, allocations: 3.815 MB / 1.251 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/1.049, allocations: 362.5 kB / 1.252 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7194/1.768, allocations: 20.59 MB / 1.272 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006429/1.769, allocations: 82.06 kB / 1.272 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001513/1.77, allocations: 1.172 MB / 1.273 GB, free: 224 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/1.771, allocations: 465.6 kB / 1.273 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003834/1.775, allocations: 4.929 MB / 1.278 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/1.775, allocations: 301.1 kB / 1.278 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02598/1.801, allocations: 38.68 MB / 1.316 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0285/1.829, allocations: 40.07 MB / 1.355 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03248/1.862, allocations: 47.73 MB / 1.402 GB, free: 95.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.778e-05/1.862, allocations: 4 kB / 1.402 GB, free: 95.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.07107/1.933, allocations: 90.97 MB / 1.491 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002496/1.933, allocations: 198.7 kB / 1.491 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-05/1.934, allocations: 23.98 kB / 1.491 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/1.934, allocations: 116.8 kB / 1.491 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/1.937, allocations: 0.6162 MB / 1.492 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/1.939, allocations: 1.569 MB / 1.493 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/1.942, allocations: 379.9 kB / 1.494 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005334/1.943, allocations: 151.9 kB / 1.494 GB, free: 1.137 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.003212/1.946, allocations: 2.515 MB / 1.496 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006727/1.947, allocations: 264.4 kB / 1.497 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005822/1.953, allocations: 3.481 MB / 1.5 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/1.953, allocations: 15.94 kB / 1.5 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.953, allocations: 4 kB / 1.5 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/1.953, allocations: 11.72 kB / 1.5 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/1.956, allocations: 2.086 MB / 1.502 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.956, allocations: 0 / 1.502 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009181/1.957, allocations: 199.7 kB / 1.502 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/1.957, allocations: 84.77 kB / 1.502 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.958, allocations: 47.97 kB / 1.502 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/1.96, allocations: 1.539 MB / 1.504 GB, free: 6.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.96, allocations: 0 / 1.504 GB, free: 6.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00517/1.965, allocations: 3.337 MB / 1.507 GB, free: 3.359 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009997/1.966, allocations: 0.5451 MB / 1.508 GB, free: 2.793 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/1.966, allocations: 32 kB / 1.508 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.967, allocations: 114.1 kB / 1.508 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/1.967, allocations: 101.3 kB / 1.508 GB, free: 2.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.968, allocations: 67.97 kB / 1.508 GB, free: 2.488 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.01188/1.98, allocations: 12.8 MB / 1.52 GB, free: 5.691 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.7e-07/1.98, allocations: 0 / 1.52 GB, free: 5.691 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006465/1.986, allocations: 1.789 MB / 1.522 GB, free: 3.984 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 (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.002943/1.989, allocations: 1.01 MB / 1.523 GB, free: 3.301 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.04588/2.035, allocations: 50.91 MB / 1.573 GB, free: 392 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/2.035, allocations: 3.938 kB / 1.573 GB, free: 388 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003331/2.038, allocations: 2.718 MB / 1.575 GB, free: 13.65 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/2.041, allocations: 463.9 kB / 1.576 GB, free: 13.2 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/2.067, allocations: 21.15 MB / 1.597 GB, free: 8.027 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005301/2.073, allocations: 4.639 MB / 1.601 GB, free: 3.352 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002224/2.075, allocations: 0.6449 MB / 1.602 GB, free: 2.703 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/2.075, allocations: 227.2 kB / 1.602 GB, free: 2.484 MB / 1.107 GB Notification: Performance of SimCode: time 8.21e-07/2.075, allocations: 0 / 1.602 GB, free: 2.484 MB / 1.107 GB Notification: Performance of Templates: time 0.1801/2.256, allocations: 59.33 MB / 1.66 GB, free: 7.426 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches