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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001487/0.001487, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001706/0.001706, allocations: 190.4 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.386/1.386, 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 10.1.0-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 55.47 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3176, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01096/0.3286, allocations: 8.551 MB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7345/1.063, allocations: 159.4 MB / 1.183 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/1.065, allocations: 38.09 kB / 1.183 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005266/1.07, allocations: 1.987 MB / 1.185 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003346/1.074, allocations: 1.261 MB / 1.186 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/1.077, allocations: 1.447 MB / 1.187 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007564/1.085, allocations: 5.428 MB / 1.193 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/1.087, allocations: 1.242 MB / 1.194 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/1.091, allocations: 1.722 MB / 1.196 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/1.094, allocations: 1.556 MB / 1.197 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004809/1.094, allocations: 290 kB / 1.197 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00494/1.099, allocations: 2.577 MB / 1.2 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003474/1.103, allocations: 4.363 MB / 1.204 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/1.105, allocations: 1.721 MB / 1.206 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/1.116, allocations: 6.318 MB / 1.212 GB, free: 3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.116, allocations: 4 kB / 1.212 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.936e-06/1.116, allocations: 0 / 1.212 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.223e-05/1.116, allocations: 0 / 1.212 GB, free: 2.996 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.008318/1.124, allocations: 4.184 MB / 1.216 GB, free: 14.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.124, allocations: 12.88 kB / 1.216 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/1.125, allocations: 428.4 kB / 1.217 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/1.138, allocations: 12.34 MB / 1.229 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/1.138, allocations: 175.1 kB / 1.229 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/1.139, allocations: 232 kB / 1.229 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/1.142, allocations: 2.377 MB / 1.231 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/1.142, allocations: 3.938 kB / 1.231 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/1.143, allocations: 68 kB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/1.143, allocations: 36 kB / 1.231 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/1.146, allocations: 2.459 MB / 1.234 GB, free: 12.48 MB / 0.9356 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.01886/1.165, allocations: 15.47 MB / 1.249 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/1.168, allocations: 1.983 MB / 1.251 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/1.17, allocations: 1.286 MB / 1.252 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.92e-05/1.17, allocations: 45.08 kB / 1.252 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/1.171, allocations: 1.35 MB / 1.254 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=138): time 2.946e-06/1.171, allocations: 4 kB / 1.254 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of matching and sorting (n=138): time 0.006593/1.178, allocations: 3.819 MB / 1.257 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002395/1.178, allocations: 362.5 kB / 1.258 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03085/1.209, allocations: 20.6 MB / 1.278 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007755/1.21, allocations: 89.69 kB / 1.278 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001779/1.212, allocations: 1.163 MB / 1.279 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006315/1.212, allocations: 473.4 kB / 1.279 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004296/1.217, allocations: 4.919 MB / 1.284 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.217, allocations: 309.1 kB / 1.284 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03318/1.25, allocations: 38.68 MB / 1.322 GB, free: 1.508 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03766/1.288, allocations: 40.08 MB / 1.361 GB, free: 9.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04353/1.331, allocations: 47.73 MB / 1.408 GB, free: 8.957 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-05/1.331, allocations: 8 kB / 1.408 GB, free: 8.949 MB / 1.107 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.08986/1.421, allocations: 90.96 MB / 1.497 GB, free: 13.57 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002727/1.422, allocations: 201.6 kB / 1.497 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-05/1.422, allocations: 16 kB / 1.497 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/1.422, allocations: 116.8 kB / 1.497 GB, free: 13.24 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/1.425, allocations: 0.6084 MB / 1.498 GB, free: 12.63 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/1.427, allocations: 1.685 MB / 1.499 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/1.431, allocations: 374.8 kB / 1.5 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004713/1.431, allocations: 145 kB / 1.5 GB, free: 10.29 MB / 1.201 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.003058/1.434, allocations: 2.512 MB / 1.502 GB, free: 7.766 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006389/1.435, allocations: 252.5 kB / 1.503 GB, free: 7.516 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/1.44, allocations: 3.485 MB / 1.506 GB, free: 4.008 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.44, allocations: 15.98 kB / 1.506 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.44, allocations: 0 / 1.506 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.44, allocations: 7.984 kB / 1.506 GB, free: 3.984 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/1.443, allocations: 2.073 MB / 1.508 GB, free: 1.855 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.443, allocations: 0 / 1.508 GB, free: 1.855 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008895/1.444, allocations: 215.6 kB / 1.508 GB, free: 1.645 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/1.444, allocations: 72.78 kB / 1.508 GB, free: 1.57 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.445, allocations: 39.97 kB / 1.508 GB, free: 1.531 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/1.446, allocations: 1.655 MB / 1.51 GB, free: 15.72 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.447, allocations: 0 / 1.51 GB, free: 15.72 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005124/1.452, allocations: 3.345 MB / 1.513 GB, free: 12.35 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.453, allocations: 0.5441 MB / 1.514 GB, free: 11.78 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/1.453, allocations: 43.86 kB / 1.514 GB, free: 11.74 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.454, allocations: 91.19 kB / 1.514 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/1.455, allocations: 93.19 kB / 1.514 GB, free: 11.56 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/1.455, allocations: 75.95 kB / 1.514 GB, free: 11.49 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01106/1.466, allocations: 12.8 MB / 1.527 GB, free: 14.69 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.51e-07/1.466, allocations: 0 / 1.527 GB, free: 14.69 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00493/1.471, allocations: 1.791 MB / 1.528 GB, free: 12.9 MB / 1.232 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.002693/1.473, allocations: 1.004 MB / 1.529 GB, free: 12.06 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.5452/2.019, allocations: 50.91 MB / 1.579 GB, free: 434.2 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/2.019, allocations: 1.875 kB / 1.579 GB, free: 434.2 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00373/2.023, allocations: 2.721 MB / 1.582 GB, free: 432.9 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/2.025, allocations: 494.5 kB / 1.582 GB, free: 432.8 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/2.049, allocations: 19.1 MB / 1.601 GB, free: 423.5 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005364/2.054, allocations: 4.636 MB / 1.605 GB, free: 419.9 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002047/2.056, allocations: 0.6476 MB / 1.606 GB, free: 419.5 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000644/2.057, allocations: 223.9 kB / 1.606 GB, free: 419.3 MB / 1.232 GB Notification: Performance of SimCode: time 1.122e-06/2.057, allocations: 3.938 kB / 1.606 GB, free: 419.3 MB / 1.232 GB Notification: Performance of Templates: time 0.1714/2.229, allocations: 60.86 MB / 1.666 GB, free: 362.6 MB / 1.232 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 -s cvode -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/jenkins1/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