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.001139/0.001139, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.00113/0.00113, allocations: 192 kB / 17.29 MB, free: 5.48 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.16 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.402/2.402, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 59.12 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2841, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009371/0.2935, allocations: 8.552 MB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6595/0.953, allocations: 159.4 MB / 1.183 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.9544, allocations: 46.81 kB / 1.183 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00499/0.9594, allocations: 1.979 MB / 1.185 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003033/0.9625, allocations: 1.258 MB / 1.186 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.9657, allocations: 1.455 MB / 1.187 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005209/0.9709, allocations: 5.426 MB / 1.193 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.9725, allocations: 1.243 MB / 1.194 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.975, allocations: 1.725 MB / 1.196 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.9769, allocations: 1.554 MB / 1.197 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003482/0.9772, allocations: 290.8 kB / 1.197 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.9813, allocations: 2.581 MB / 1.2 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003005/0.9844, allocations: 4.355 MB / 1.204 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.9861, allocations: 1.73 MB / 1.206 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007447/0.9936, allocations: 6.31 MB / 1.212 GB, free: 3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.9936, allocations: 0 / 1.212 GB, free: 3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9936, allocations: 3.938 kB / 1.212 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.895e-05/0.9937, 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.007171/1.001, allocations: 4.185 MB / 1.216 GB, free: 14.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/1.001, allocations: 12.88 kB / 1.216 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/1.002, allocations: 428.4 kB / 1.217 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/1.014, allocations: 12.35 MB / 1.229 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/1.014, allocations: 171.1 kB / 1.229 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/1.015, allocations: 232 kB / 1.229 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/1.018, allocations: 2.377 MB / 1.231 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/1.018, allocations: 0 / 1.231 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/1.019, allocations: 72 kB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/1.019, allocations: 36 kB / 1.231 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0036/1.022, allocations: 2.463 MB / 1.234 GB, free: 12.47 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.01874/1.041, allocations: 15.47 MB / 1.249 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/1.044, allocations: 1.98 MB / 1.251 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/1.046, allocations: 1.289 MB / 1.252 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.875e-05/1.046, allocations: 41.09 kB / 1.252 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/1.048, allocations: 1.354 MB / 1.254 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=138): time 3.226e-06/1.048, allocations: 4 kB / 1.254 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=138): time 0.006547/1.054, allocations: 3.819 MB / 1.257 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002264/1.054, allocations: 366.5 kB / 1.258 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02899/1.083, allocations: 20.6 MB / 1.278 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000488/1.084, allocations: 81.7 kB / 1.278 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.085, allocations: 1.17 MB / 1.279 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000437/1.086, allocations: 465.5 kB / 1.279 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003602/1.089, allocations: 4.927 MB / 1.284 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/1.089, allocations: 301.1 kB / 1.284 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03188/1.121, allocations: 38.68 MB / 1.322 GB, free: 1.504 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03375/1.155, allocations: 40.08 MB / 1.361 GB, free: 9.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04165/1.197, allocations: 47.73 MB / 1.408 GB, free: 8.957 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.16e-05/1.197, allocations: 4 kB / 1.408 GB, free: 8.953 MB / 1.107 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.08374/1.281, allocations: 90.96 MB / 1.497 GB, free: 13.58 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002938/1.281, allocations: 197.6 kB / 1.497 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.414e-05/1.281, allocations: 23.98 kB / 1.497 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/1.282, allocations: 108.9 kB / 1.497 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/1.284, allocations: 0.6239 MB / 1.498 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/1.286, allocations: 1.674 MB / 1.499 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/1.289, allocations: 365.9 kB / 1.5 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/1.29, allocations: 155.9 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.002719/1.292, allocations: 2.505 MB / 1.502 GB, free: 7.773 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/1.293, allocations: 260.5 kB / 1.503 GB, free: 7.516 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/1.298, allocations: 3.49 MB / 1.506 GB, free: 4.004 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.298, allocations: 12 kB / 1.506 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.298, allocations: 0 / 1.506 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.298, allocations: 11.91 kB / 1.506 GB, free: 3.98 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/1.301, allocations: 2.065 MB / 1.508 GB, free: 1.859 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.301, allocations: 4 kB / 1.508 GB, free: 1.855 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009185/1.302, allocations: 219.6 kB / 1.508 GB, free: 1.641 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/1.302, allocations: 72.77 kB / 1.508 GB, free: 1.566 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.303, allocations: 43.97 kB / 1.508 GB, free: 1.523 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.304, allocations: 1.655 MB / 1.51 GB, free: 15.71 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.304, allocations: 0 / 1.51 GB, free: 15.71 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/1.309, allocations: 3.341 MB / 1.513 GB, free: 12.34 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.31, allocations: 0.5441 MB / 1.514 GB, free: 11.78 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003517/1.311, allocations: 32.08 kB / 1.514 GB, free: 11.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.312, allocations: 91.95 kB / 1.514 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/1.312, allocations: 109.2 kB / 1.514 GB, free: 11.55 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.312, allocations: 67.95 kB / 1.514 GB, free: 11.48 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01225/1.325, allocations: 12.79 MB / 1.527 GB, free: 14.69 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.2e-07/1.325, allocations: 4 kB / 1.527 GB, free: 14.69 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005188/1.33, allocations: 1.783 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.002777/1.333, allocations: 1.017 MB / 1.529 GB, free: 12.06 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.452/1.785, allocations: 50.91 MB / 1.579 GB, free: 434.8 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.785, allocations: 1.875 kB / 1.579 GB, free: 434.8 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003251/1.788, allocations: 2.716 MB / 1.582 GB, free: 433.5 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.79, allocations: 492.5 kB / 1.582 GB, free: 433.4 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.81, allocations: 19.1 MB / 1.601 GB, free: 424.3 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004963/1.815, allocations: 4.641 MB / 1.605 GB, free: 420.7 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001963/1.817, allocations: 0.6497 MB / 1.606 GB, free: 420.3 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005475/1.818, allocations: 219.4 kB / 1.606 GB, free: 420.1 MB / 1.232 GB Notification: Performance of SimCode: time 9.01e-07/1.818, allocations: 0 / 1.606 GB, free: 420.1 MB / 1.232 GB Notification: Performance of Templates: time 0.164/1.982, allocations: 60.86 MB / 1.666 GB, free: 363.4 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 gbode -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